正文内容加载中...
posted @ 2019-05-29 19:32 包子模拟面试 阅读(97) 评论(2) 推荐(0) 编辑
摘要:Problem Statement Given two numbers, hour and minutes. Return the smaller angle (in degrees) formed between the hour and the minute hand. Example 1: I 阅读全文
posted @ 2020-07-21 13:41 包子模拟面试 阅读(3) 评论(0) 推荐(0) 编辑
摘要:Problem Statement Given an array of integers nums. A pair (i,j) is called good if nums[i] == nums[j] and i < j. Return the number of good pairs. Examp 阅读全文
posted @ 2020-07-19 06:26 包子模拟面试 阅读(19) 评论(0) 推荐(0) 编辑
摘要:Methodology: READ MF! [Originally from the Post: System design interview: how to design a chat system (e.g., Facebook Messenger, WeChat or WhatsApp)] 阅读全文
posted @ 2020-06-22 12:02 包子模拟面试 阅读(24) 评论(0) 推荐(0) 编辑
摘要:Problem Statement You are a professional robber planning to rob houses along a street. Each house has a certain amount of money stashed. All houses at 阅读全文
posted @ 2020-06-15 03:59 包子模拟面试 阅读(10) 评论(0) 推荐(0) 编辑
摘要:Problem Statement You are a professional robber planning to rob houses along a street. Each house has a certain amount of money stashed, the only cons 阅读全文
posted @ 2020-06-15 02:04 包子模拟面试 阅读(6) 评论(0) 推荐(0) 编辑
摘要:Problem Statement Given a 2d grid map of '1's (land) and '0's (water), count the number of islands. An island is surrounded by water and is formed by 阅读全文
posted @ 2020-05-26 06:16 包子模拟面试 阅读(49) 评论(0) 推荐(0) 编辑
摘要:Problem Statement There are a total of numCourses courses you have to take, labeled from 0 to numCourses-1. Some courses may have prerequisites, for e 阅读全文
posted @ 2020-05-18 08:03 包子模拟面试 阅读(26) 评论(0) 推荐(0) 编辑
摘要:Problem Statement Problem Cameron and Jamie's kid is almost 3 years old! However, even though the child is more independent now, scheduling kid activi 阅读全文
posted @ 2020-05-11 15:25 包子模拟面试 阅读(35) 评论(0) 推荐(0) 编辑
摘要:Problem Statement Problem tl;dr: Given a string of digits S, insert a minimum number of opening and closing parentheses into it such that the resultin 阅读全文
posted @ 2020-05-11 06:50 包子模拟面试 阅读(37) 评论(0) 推荐(0) 编辑
摘要:Problem Statement Problem Vestigium means "trace" in Latin. In this problem we work with Latin squares and matrix traces. The trace of a square matrix 阅读全文
posted @ 2020-05-11 02:24 包子模拟面试 阅读(36) 评论(0) 推荐(0) 编辑