摘要: System design interview: how to design a video platform (e.g., Youtube, Netflix) Methodology: READ MF! [Originally from the Post: System design interv 阅读全文
posted @ 2020-01-06 09:30 包子模拟面试 阅读(401) 评论(0) 推荐(0) 编辑
摘要: Problem Statement Invert a binary tree. Example: Input: 4 / \ 2 7 / \ / \ 1 3 6 9 Output: 4 / \ 7 2 / \ / \ 9 6 3 1 Trivia: This problem was inspired 阅读全文
posted @ 2020-01-04 09:27 包子模拟面试 阅读(115) 评论(0) 推荐(0) 编辑
摘要: Problem Statement Design and implement a data structure for Least Recently Used (LRU) cache. It should support the following operations: get and put. 阅读全文
posted @ 2020-01-02 12:27 包子模拟面试 阅读(218) 评论(0) 推荐(0) 编辑
摘要: Problem Statement Given two words word1 and word2, find the minimum number of operations required to convert word1 to word2. You have the following 3 阅读全文
posted @ 2019-12-29 05:04 包子模拟面试 阅读(130) 评论(0) 推荐(0) 编辑
摘要: Methodology: READ MF! Please use this "READ MF!" framework for software engineer system interview purpose. Key designs and terms So far the best detai 阅读全文
posted @ 2019-12-28 07:19 包子模拟面试 阅读(393) 评论(0) 推荐(0) 编辑
摘要: Problem Statement Given a list of words and two words word1 and word2, return the shortest distance between these two words in the list. Example: Assu 阅读全文
posted @ 2019-12-26 03:41 包子模拟面试 阅读(207) 评论(0) 推荐(0) 编辑
摘要: System design interview: how to design a chat system (e.g., Messenger, WeChat or WhatsApp) Methodology: READ MF! For system design interview questions 阅读全文
posted @ 2019-12-24 02:45 包子模拟面试 阅读(783) 评论(0) 推荐(0) 编辑
摘要: Problem Statement Given a m x n matrix mat and an integer threshold. Return the maximum side-length of a square with a sum less than or equal to thres 阅读全文
posted @ 2019-12-19 12:14 包子模拟面试 阅读(426) 评论(0) 推荐(0) 编辑
摘要: Problem Statement Given an integer array of size n, find all elements that appear more than ⌊ n/3 ⌋ times. Note: The algorithm should run in linear ti 阅读全文
posted @ 2019-12-18 14:03 包子模拟面试 阅读(164) 评论(0) 推荐(0) 编辑
摘要: Problem Statement Given an array of size n, find the majority element. The majority element is the element that appears more than ⌊ n/2 ⌋ times. You m 阅读全文
posted @ 2019-12-17 12:12 包子模拟面试 阅读(197) 评论(0) 推荐(0) 编辑