摘要:
System design interview: how to design a video platform (e.g., Youtube, Netflix) Methodology: READ MF! [Originally from the Post: System design interv 阅读全文
摘要:
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 阅读全文
摘要:
Problem Statement Design and implement a data structure for Least Recently Used (LRU) cache. It should support the following operations: get and put. 阅读全文
摘要:
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 阅读全文
摘要:
Methodology: READ MF! Please use this "READ MF!" framework for software engineer system interview purpose. Key designs and terms So far the best detai 阅读全文
摘要:
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 阅读全文
摘要:
System design interview: how to design a chat system (e.g., Messenger, WeChat or WhatsApp) Methodology: READ MF! For system design interview questions 阅读全文
摘要:
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 阅读全文
摘要:
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 阅读全文
摘要:
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 阅读全文