Mar2ndx's Tech Blog
System Design 2024 - Robinhood
Jul 30 · 2 min
System Design 2024 - TicketMaster
Jul 28 · 5 min
System Design 2024 - Youtube
Jul 27 · 2 min
System Design 2024 - Twitter
Jul 27 · 2 min
2285. Maximum Total Importance of Roads
Jul 16 · 2 min
445. Add Two Numbers II
Jul 16 · 1 min
2341. Maximum Number of Pairs in Array
Jul 16 · 2 min
Maven tutorial
Jan 16 · 1 min
1152. Analyze User Website Visit Pattern
Dec 14 · 7 min
Hackerrank - DigitalWallet
Dec 02 · 7 min
RuntimeException and checked Exception
Dec 01 · 1 min
347. Top K Frequent Elements
Dec 01 · 1 min
380. Insert Delete GetRandom O(1)
Dec 01 · 2 min
1094. Car Pooling
Nov 29 · 1 min
[LeetCode 32] Longest Valid Parentheses
Nov 29 · 3 min
Setup Zookeeper + Kafka in VMware
Nov 25 · 4 min
543. Diameter of Binary Tree
Nov 20 · 1 min
206. Reverse Linked List
Nov 20 · 1 min
1628. Design an Expression Tree With Evaluate Function
Nov 20 · 5 min
364. Nested List Weight Sum II
Nov 18 · 2 min
339. Nested List Weight Sum
Nov 18 · 1 min
277. Find the Celebrity
Nov 18 · 2 min
1429. First Unique Number
Nov 18 · 3 min
510. Inorder Successor in BST II
Nov 18 · 1 min
285. Inorder Successor in BST
Nov 18 · 1 min
System design cheat sheet
Nov 15 · 3 min
System design questions
Nov 15 · 7 min
472. Concatenated Words
Nov 15 · 1 min
207. Course Schedule
Nov 15 · 1 min
695. Max Area of Island
Nov 15 · 2 min
987. Vertical Order Traversal of a Binary Tree
Nov 15 · 3 min
653. Two Sum IV - Input is a BST
Nov 15 · 1 min
1046. Last Stone Weight
Nov 14 · 1 min
1160. Find Words That Can Be Formed by Characters
Nov 14 · 1 min
Google questions
Nov 14 · 2 min
803. Bricks Falling When Hit
Nov 14 · 5 min
2402. Meeting Rooms III
Nov 13 · 9 min
683. K Empty Slots
Nov 12 · 2 min
545. Boundary of Binary Tree
Nov 12 · 4 min
430. Flatten a Multilevel Doubly Linked List
Nov 11 · 3 min
2221. Find Triangular Sum of an Array
Nov 08 · 2 min
1567. Maximum Length of Subarray With Positive Product
Nov 08 · 1 min
2104. Sum of Subarray Ranges
Nov 08 · 4 min
719. Find K-th Smallest Pair Distance
Nov 08 · 2 min
2259. Remove Digit From Number to Maximize Result
Nov 08 · 2 min
1710. Maximum Units on a Truck
Nov 08 · 1 min
2006. Count Number of Pairs With Absolute Difference K
Nov 08 · 1 min
TODO
Nov 08 · 1 min
244. Shortest Word Distance II
Nov 08 · 2 min
1740. Find Distance in a Binary Tree
Nov 08 · 2 min
250. Count Univalue Subtrees
Nov 08 · 2 min
727. Minimum Window Subsequence
Nov 08 · 2 min
269. Alien Dictionary
Nov 04 · 6 min
366. Find Leaves of Binary Tree
Nov 04 · 1 min
253. Meeting Rooms II
Nov 04 · 2 min
937. Reorder Data in Log Files
Nov 02 · 3 min
994. Rotting Oranges
Nov 02 · 2 min
1662. Check If Two String Arrays are Equivalent
Nov 01 · 1 min
710. Random Pick with Blacklist
Oct 31 · 3 min
Redis (NoSQL) Cache
Oct 31 · 7 min
1366. Rank Teams by Votes
Oct 30 · 3 min
MySql (4) - Performance Optimization
Oct 30 · 1 min
Java Design Pattern
Oct 30 · 6 min
224. Basic Calculator
Oct 30 · 3 min
[LeetCode 110] Balanced Binary Tree
Oct 29 · 2 min
[LeetCode 84] Largest Rectangle in Histogram
Oct 29 · 6 min
[LeetCode 25] Reverse Nodes in k-Groups
Oct 29 · 2 min
[LeetCode 24] Swap Nodes in Pairs
Oct 29 · 1 min
[LeetCode 33] Search in Rotated Sorted Array
Oct 29 · 1 min
[LeetCode 67] Add Binary
Oct 29 · 1 min
[LeetCode 79] Word Search
Oct 29 · 4 min
[LeetCode 102] Binary Tree Level Order Traversal
Oct 29 · 4 min
[LeetCode 108] Convert Sorted Array to Binary Search Tree
Oct 29 · 1 min
[LeetCode 96] Unique Binary Search Trees
Oct 29 · 1 min
[LeetCode 119] Pascal's Triangle II
Oct 29 · 1 min
[LeetCode 130] Surrounded Regions
Oct 29 · 3 min
[LeetCode 133] Clone Graph
Oct 29 · 4 min
[Question] ASCII, Utf-8, Utf-16 and Unicode
Oct 29 · 3 min
[Design] Big Data - Top k Frequency
Oct 29 · 2 min
[Design] Multithreading Q&A
Oct 29 · 3 min
[Google] Special increasing adjacent sequence
Oct 29 · 1 min
[Design] Overview of Big Data Technology
Oct 29 · 1 min
[Google] Postorder successor in Binary Tree
Oct 29 · 1 min
[Facebook] Query Search (HashMap, suffix array)
Oct 29 · 2 min
[CC150v4] 3.6 Sort Stack
Oct 29 · 1 min
[CC150v4] 9.0 Example - Sort Persons
Oct 29 · 1 min
[CC150v4] 14.3 Java Final, Finally and Finalize
Oct 29 · 1 min
[CC150v5] 2.2 Kth last element (recursive)
Oct 29 · 1 min
[Question] Find row with most 1s
Oct 29 · 1 min
[Design] Database Indexing
Oct 29 · 1 min
[Question] Most Frequent Word from a book
Oct 29 · 1 min
[Java OOP] Interface and Abstract classes
Oct 29 · 2 min
[Design] Design Google Suggest (autocomplete)
Oct 29 · 1 min
[Google] Generate Request ID
Oct 29 · 2 min
[Fundamental] Suffix Array
Oct 29 · 1 min
[Greedy] Activity Selection Problem
Oct 29 · 1 min
[Greedy] Each Employee 2 events
Oct 29 · 1 min
[Amazon] Grep command interview question
Oct 29 · 1 min
[Google] First Unique URL
Oct 29 · 1 min
[Palantir] MultiMap in Java without using Collections
Oct 29 · 1 min
[LeetCode 15] 3Sum
Oct 29 · 3 min
[LeetCode 78] Subsets
Oct 29 · 3 min
[Brain teaser] 6.1 Bottles of Pills
Oct 29 · 1 min
[Amazon] Mininum Range that includes at least One
Oct 29 · 2 min
[Google] Transform a unbalanced tree into balanced tree
Oct 29 · 1 min
[CC150v4] 11.2 Random error debugging 2
Oct 29 · 1 min
[LeetCode 12] Integer to Roman
Oct 29 · 4 min
[LeetCode 29] Divide Two Integers
Oct 29 · 1 min
[LeetCode 30] Substring with Concatenation of All Words
Oct 29 · 2 min
[LintCode] Trailing Zeros of Factorial
Oct 29 · 1 min
[Question] Find Min & Max in an Array Using Minimum Comparisons
Oct 29 · 1 min
[CC150v4] 4.5 Find Next Node in BST
Oct 29 · 1 min
[Question] Axis Aligned Rectangles
Oct 29 · 1 min
[Java OOP] Interface extend another Interface
Oct 29 · 1 min
[Google] Check all numbers given the decimal scale
Oct 29 · 1 min
[Question] Check string with no common letters (Bitmask)
Oct 29 · 1 min
[Design] Design Cache System (`)
Oct 29 · 1 min
[LeetCode 48] Rotate Image
Oct 29 · 1 min
[LeetCode 104] Maximum Depth of Binary Tree
Oct 29 · 1 min
[Google] Make a Java method thread-safe
Oct 29 · 1 min
[Java OOP] Can abstract class have 0 abstract method?
Oct 29 · 1 min
[LeetCode 100] Same Tree
Oct 29 · 1 min
[Java OOP] Template method pattern (abstract class)
Oct 29 · 1 min
[LeetCode 59] Spiral Matrix II
Oct 29 · 1 min
[LeetCode 113] Path Sum II
Oct 29 · 1 min
[Design] How to generate Maze
Oct 29 · 1 min
[LeetCode 1] Two Sum
Oct 29 · 1 min
[CC150v4] 20.11 Find Subsquare with Black Border
Oct 29 · 1 min
[Design] Terminology: n-gram
Oct 29 · 1 min
[Fundamental] Implement Trie and Suffix Tree
Oct 29 · 1 min
[Question] Number Of Bus Stations (meeting rooms)
Oct 29 · 2 min
[LeetCode 63] Unique Paths II
Oct 29 · 1 min
[Question] Random Number Generate Question
Oct 29 · 1 min
[Design] Model–view–controller (MVC)
Oct 29 · 1 min
[CC150v5] 8.7 Design Online Chat Server (2)
Oct 29 · 1 min
[Design] Speed Up Webpage for Slow Connection (4)
Oct 29 · 1 min
[LeetCode 139] Word Break
Oct 29 · 1 min
[Design] Networks and TCP/IP
Oct 29 · 2 min
[Question] Packing Rectangles
Oct 29 · 7 min
[Design] Cryptographic standard, AES and RSA
Oct 29 · 2 min
[Question] Peripheral Of A Complete Tree
Oct 29 · 1 min
[Java OOP] Upcasting, Downcasting and Object Slicing
Oct 29 · 1 min
[Question] Square Count of Matchstick Graph
Oct 29 · 1 min
[Design] Distributed hash table
Oct 29 · 4 min
[Question] Check if given point inside polygon
Oct 29 · 1 min
[Fundamental] Suffix Tree
Oct 29 · 1 min
[NineChap 3.4] Binary Tree Additional
Oct 29 · 2 min
[NineChap 5.1] Dynamic Programming
Oct 29 · 12 min
[NineChap 2.2] Sorted Array
Oct 29 · 2 min
[NineChap 1.2] Permutation
Oct 29 · 11 min
[NineChap 7] Data Structure
Oct 29 · 4 min
[LeetCode 171] Excel Sheet Column Number
Oct 29 · 1 min
[LeetCode 74] Search a 2D Matrix
Oct 29 · 2 min
MySql (1) - Indexing, Locking and Transaction
Oct 28 · 2 min
MySql (3) - Sharding
Oct 27 · 3 min
2290. Minimum Obstacle Removal to Reach Corner
Oct 27 · 3 min
MySql (2) - Master/slave
Oct 27 · 1 min
MyBatis and SSM (Spring/SpringMVC/MyBatis)
Oct 27 · 1 min
SpringMVC learning notes
Oct 26 · 1 min
Java Spring framework
Oct 26 · 1 min
463. Island Perimeter
Oct 25 · 2 min
1254. Number of Closed Islands
Oct 25 · 2 min
547. Number of Provinces
Oct 24 · 2 min
1864. Minimum Number of Swaps to Make the Binary String Alternating
Oct 24 · 2 min
1854. Maximum Population Year
Oct 24 · 1 min
655. Print Binary Tree
Oct 24 · 2 min
202. Happy Number
Oct 24 · 1 min
948. Bag of Tokens
Oct 24 · 2 min
234. Palindrome Linked List
Oct 24 · 1 min
662. Maximum Width of Binary Tree
Oct 22 · 2 min
426. Convert Binary Search Tree to Sorted Doubly Linked List
Oct 22 · 1 min
523. Continuous Subarray Sum
Oct 22 · 1 min
875. Koko Eating Bananas
Oct 21 · 1 min
276. Paint Fence
Oct 20 · 2 min
158. Read N Characters Given read4 II - Call Multiple Times
Oct 20 · 4 min
Java一些基础语法:Comparator, MapEntry, Iterator
Oct 20 · 2 min
440. K-th Smallest in Lexicographical Order
Oct 19 · 1 min
241. Different Ways to Add Parentheses
Oct 19 · 2 min
17.12. BiNode LCCI
Oct 19 · 1 min
并查集 (261. Graph Valid Tree)
Oct 18 · 1 min
261. Graph Valid Tree
Oct 18 · 3 min
622. Design Circular Queue
Oct 18 · 3 min
773. Sliding Puzzle
Oct 18 · 3 min
240. Search a 2D Matrix II
Oct 17 · 1 min
238. Product of Array Except Self
Oct 17 · 1 min
1249. Minimum Remove to Make Valid Parentheses
Oct 16 · 2 min
394. Decode String
Oct 16 · 2 min
331. Verify Preorder Serialization of a Binary Tree
Oct 16 · 2 min
993. Cousins in Binary Tree
Oct 16 · 1 min
1352. Product of the Last K Numbers
Oct 16 · 2 min
2096. Step-By-Step Directions From a Binary Tree Node to Another
Oct 16 · 3 min
311. Sparse Matrix Multiplication
Oct 16 · 1 min
981. Time Based Key-Value Store
Oct 16 · 3 min
1123. Lowest Common Ancestor of Deepest Leaves
Oct 16 · 2 min
236. Lowest Common Ancestor of a Binary Tree
Oct 16 · 1 min
1769. Minimum Number of Operations to Move All Balls to Each Box
Oct 16 · 2 min
1302. Deepest Leaves Sum
Oct 16 · 1 min
1712. Ways to Split Array Into Three Subarrays
Oct 15 · 3 min
1326. Minimum Number of Taps to Open to Water a Garden
Oct 15 · 2 min
221. Maximal Square
Oct 15 · 2 min
295. Find Median from Data Stream
Oct 14 · 2 min
739. Daily Temperatures
Oct 14 · 1 min
163. Missing Ranges
Oct 13 · 2 min
222. Count Complete Tree Nodes
Oct 13 · 1 min
210. Course Schedule II
Oct 12 · 3 min
1428. Leftmost Column with at Least a One
Oct 11 · 2 min
1143. Longest Common Subsequence
Oct 11 · 2 min
785. Is Graph Bipartite?
Oct 11 · 2 min
692. Top K Frequent Words
Oct 11 · 2 min
417. Pacific Atlantic Water Flow
Oct 11 · 4 min
983. Minimum Cost For Tickets
Oct 11 · 3 min
769. Max Chunks To Make Sorted
Oct 11 · 1 min
239. Sliding Window Maximum
Oct 11 · 2 min
652. Find Duplicate Subtrees
Oct 11 · 1 min
696. Count Binary Substrings
Oct 10 · 1 min
299. Bulls and Cows
Oct 10 · 2 min
396. Rotate Function
Oct 09 · 1 min
1654. Minimum Jumps to Reach Home
Oct 09 · 2 min
264. Ugly Number II
Oct 06 · 1 min
797. All Paths From Source to Target
Oct 06 · 2 min
1405. Longest Happy String
Oct 06 · 2 min
1423. Maximum Points You Can Obtain from Cards
Oct 03 · 1 min
1153. String Transforms Into Another String
Sep 27 · 1 min
642. Design Search Autocomplete System
Sep 26 · 6 min
681. Next Closest Time
Sep 26 · 2 min
1652. Defuse the Bomb
Sep 24 · 2 min
359. Logger Rate Limiter
Sep 24 · 2 min
346. Moving Average from Data Stream
Sep 24 · 1 min
418. Sentence Screen Fitting
Sep 24 · 1 min
340. Longest Substring with At Most K Distinct Characters
Sep 24 · 1 min
[Question] Count Arithmetic Slices
May 22 · 1 min
[Question] Shuffle and Get Max Difference
May 22 · 1 min
[Amazon] Infix to Postfix conversion
May 22 · 2 min
[Question] Get Max Number Game (minmax + dp)
May 22 · 3 min
[Question] Insert Plus and Minus to Complete Expression
May 22 · 2 min
[LeetCode 4] Median of Two Sorted Arrays
May 22 · 4 min
[LeetCode 3] Longest Substring Without Repeating Characters
May 22 · 3 min
[LeetCode 2] Add Two Numbers
May 22 · 2 min
[LeetCode 5] Longest Palindromic Substring
May 22 · 2 min
[LeetCode 7] Reverse Integer
May 22 · 2 min
[LeetCode 11] Container With Most Water
May 22 · 1 min
[LeetCode 9] Palindrome Number
May 22 · 1 min
[LeetCode 10] Regular Expression Matching
May 22 · 4 min
[LeetCode 6] ZigZag Conversion
May 22 · 3 min
[LeetCode 8] String to Integer (atoi)
May 22 · 3 min
[LeetCode 13] Roman to Integer
May 22 · 3 min
[LeetCode 14] Longest Common Prefix
May 22 · 1 min
[LeetCode 16] 3Sum Closest
May 22 · 1 min
[LeetCode 17] Letter Combinations of a Phone Number
May 22 · 2 min
[LeetCode 19] Remove Nth Node From End of List
May 22 · 1 min
[LeetCode 22] Generate Parentheses
May 22 · 1 min
[LeetCode 21] Merge Two Sorted Lists
May 22 · 1 min
[LeetCode 18] 4Sum
May 22 · 3 min
[LeetCode 26] Remove Duplicates from Sorted Array
May 22 · 1 min
LeetCode Statistics
May 22 · 11 min
[LeetCode 27] Remove Element
May 22 · 1 min
[LeetCode 20] Valid Parentheses
May 22 · 1 min
[LeetCode 28] Implement strStr
May 22 · 1 min
[Fundamental] Recap on Java HashMap
May 22 · 2 min
[Fundamental] Java Bit Operation
May 22 · 1 min
[LeetCode 23] Merge k Sorted Lists
May 22 · 3 min
[Fundamental] Heap (data structure)
May 22 · 2 min
[LeetCode 31] Next Permutation
May 22 · 2 min
[LeetCode 35] Search Insert Position
May 22 · 1 min
[LeetCode 36] Valid Sudoku
May 22 · 2 min
[LeetCode 34] Search for a Range
May 22 · 2 min
[LeetCode 40] Combination Sum II
May 22 · 2 min
[LeetCode 39] Combination Sum
May 22 · 2 min
[LeetCode 38] Count and Say
May 22 · 1 min
[LeetCode 41] First Missing Positive
May 22 · 3 min
[LeetCode 45] Jump Game II
May 22 · 3 min
[LeetCode 43] Multiply Strings
May 22 · 2 min
[LeetCode 47] Permutations II
May 22 · 2 min
[LeetCode 46] Permutations
May 22 · 3 min
[LeetCode 37] Sudoku Solver
May 22 · 2 min
[LeetCode 42] Trapping Rain Water
May 22 · 3 min
[LeetCode 49] Anagrams
May 22 · 1 min
[LeetCode 50] Pow(x, n)
May 22 · 1 min
[LeetCode 44] Wildcard Matching
May 22 · 3 min
[LeetCode 55] Jump Game
May 22 · 1 min
[LeetCode 58] Length of Last Word
May 22 · 1 min
[LeetCode 52] N-Queens II
May 22 · 1 min
[LeetCode 51] N-Queens
May 22 · 2 min
[LeetCode 54] Spiral Matrix
May 22 · 2 min
[LeetCode 56] Merge Intervals
May 22 · 5 min
[LeetCode 57] Insert Interval
May 22 · 3 min
[LeetCode 68] Text Justification (unsolvable)
May 22 · 2 min
[LeetCode 65] Valid Number (unsolvable)
May 22 · 1 min
[LeetCode 60] Permutation Sequence
May 22 · 2 min
[LeetCode 61] Rotate List
May 22 · 1 min
[LeetCode 53] Maximum Subarray
May 22 · 3 min
[LeetCode 64] Minimum Path Sum
May 22 · 2 min
[LeetCode 62] Unique Paths
May 22 · 1 min
[LeetCode 70] Climbing Stairs
May 22 · 1 min
[LeetCode 72] Edit Distance
May 22 · 1 min
[LeetCode 76] Minimum Window Substring
May 22 · 6 min
[LeetCode 66] Plus One
May 22 · 1 min
[LeetCode 73] Set Matrix Zeroes
May 22 · 2 min
[LeetCode 71] Simplify Path
May 22 · 1 min
[LeetCode 75] Sort Colors
May 22 · 2 min
[LeetCode 69] Sqrt(x)
May 22 · 3 min
[LeetCode 77] Combinations
May 22 · 3 min
[LeetCode 82] Remove Duplicates from Sorted List II
May 22 · 1 min
[LeetCode 80] Remove Duplicates from Sorted Array II
May 22 · 1 min
[LeetCode 83] Remove Duplicates from Sorted List
May 22 · 1 min
[LeetCode 81] Search in Rotated Sorted Array II
May 22 · 2 min
[LeetCode 90] Subsets II
May 22 · 3 min
[LeetCode 91] Decode Ways
May 22 · 2 min
[LeetCode 89] Gray Code
May 22 · 2 min
[LeetCode 86] Partition List
May 22 · 1 min
[LeetCode 92] Reverse Linked List II
May 22 · 1 min
[LeetCode 88] Merge Sorted Array
May 22 · 1 min
[LeetCode 87] Scramble String
May 22 · 5 min
[LeetCode 94] Binary Tree Inorder Traversal
May 22 · 2 min
[LeetCode 97] Interleaving String
May 22 · 1 min
[LeetCode 85] Maximal Rectangle
May 22 · 4 min
[LeetCode 93] Restore IP Addresses
May 22 · 5 min
[LeetCode 107] Binary Tree Level Order Traversal II
May 22 · 1 min
[LeetCode 103] Binary Tree Zigzag Level Order Traversal
May 22 · 2 min
[LeetCode 111] Minimum Depth of Binary Tree
May 22 · 1 min
[LeetCode 99] Recover Binary Search Tree
May 22 · 4 min
[LeetCode 101] Symmetric Tree
May 22 · 1 min
[LeetCode 109] Convert Sorted List to Binary Search Tree
May 22 · 2 min
[LeetCode 95] Unique Binary Search Trees II
May 22 · 1 min
[LeetCode 98] Validate Binary Search Tree
May 22 · 1 min
[LeetCode 106] Construct Binary Tree from Inorder and Postorder
May 22 · 1 min
[LeetCode 105] Construct Binary Tree from Preorder and Inorder
May 22 · 3 min
[LeetCode 115] Distinct Subsequences
May 22 · 3 min
[LeetCode 118] Pascal's Triangle
May 22 · 1 min
[LeetCode 112] Path Sum
May 22 · 1 min
[LeetCode 117] Populating Next Right Pointers in Each Node II
May 22 · 4 min
[LeetCode 116] Populating Next Right Pointers in Each Node
May 22 · 2 min
[LeetCode 120] Triangle
May 22 · 1 min
[LeetCode 122] Best Time to Buy and Sell Stock II
May 22 · 1 min
[LeetCode 123] Best Time to Buy and Sell Stock III
May 22 · 2 min
[LeetCode 121] Best Time to Buy and Sell Stock
May 22 · 1 min
[LeetCode 124] Binary Tree Maximum Path Sum
May 22 · 3 min
[LeetCode 114] Flatten Binary Tree to Linked List
May 22 · 4 min
[LeetCode 125] Valid Palindrome
May 22 · 1 min
[Design] DFS, BFS and space efficiency
May 22 · 2 min
[LeetCode 128] Longest Consecutive Sequence
May 22 · 4 min
[LeetCode 131] Palindrome Partitioning
May 22 · 2 min
[LeetCode 129] Sum Root to Leaf Numbers
May 22 · 2 min
[LeetCode 127] Word Ladder
May 22 · 4 min
[LeetCode 147] Insertion Sort List
May 22 · 1 min
[LeetCode 132] Palindrome Partitioning II
May 22 · 6 min
[LeetCode 126] Word Ladder II (unsolvable)
May 22 · 3 min
[LeetCode 135] Candy
May 22 · 2 min
[LeetCode 134] Gas Station
May 22 · 4 min
[LeetCode 137] Single Number II
May 22 · 3 min
[LeetCode 136] Single Number
May 22 · 1 min
[LeetCode 144] Binary Tree Preorder Traversal
May 22 · 1 min
[LeetCode 138] Copy List with Random Pointer
May 22 · 2 min
[LeetCode 142] Linked List Cycle II
May 22 · 1 min
[LeetCode 141] Linked List Cycle
May 22 · 1 min
[LeetCode 148] Sort List
May 22 · 1 min
[LeetCode 140] Word Break II
May 22 · 3 min
[Design] Big Endian and Little Endian
May 22 · 2 min
[LeetCode 145] Binary Tree Postorder Traversal
May 22 · 5 min
[LeetCode 150] Evaluate Reverse Polish Notation
May 22 · 1 min
[Design] Implemention of DFS using a Stack
May 22 · 1 min
[LeetCode 146] LRU Cache
May 22 · 4 min
[LeetCode 149] Max Points on a Line
May 22 · 3 min
[LeetCode 143] Reorder List
May 22 · 3 min
[LeetCode 151] Reverse Words in a String
May 22 · 3 min
[Question] Junit Hand-on Notes
May 22 · 4 min
[Testing] Software Testing
May 22 · 4 min
[NineChap 2.1] Binary Search
May 22 · 7 min
[LintCode] Recover Rotated Sorted Array
May 22 · 3 min
[Question] First Character Appearing Only Once
May 22 · 1 min
[LeetCode Plus] Lowest Common Ancestor of BST
May 22 · 1 min
[LeetCode Plus] Lowest Common Ancestor of Binary Tree (II)
May 22 · 2 min
[LeetCode Plus] Lowest Common Ancestor of Binary Tree (I)
May 22 · 2 min
[NineChap 3.3] Binary Search Tree
May 22 · 2 min
[NineChap 3.2] Binary Tree BFS
May 22 · 3 min
[NineChap 3.1] Binary Tree DFS and Divide Conquer
May 22 · 7 min
[LeetCode Plus] Searching a 2D Sorted Matrix
May 22 · 1 min
[Design] BST Node Insertion / Deletion
May 22 · 3 min
[NineChap 1.1] strStr and Coding Style
May 22 · 1 min
[Question] Compare Mergesort and Quicksort
May 22 · 1 min
[Question] Search Range in BST (Trim a BST)
May 22 · 1 min
[Question] Count negative in a 2D Sorted Matrix
May 22 · 1 min
[Question] Iterator of Binary Search Tree
May 22 · 1 min
[Java OOP] Java modifier and Access Level
May 22 · 1 min
[Question] Binary Search Tree find upper/lower bound
May 22 · 1 min
[Java OOP] Java Global Variable
May 22 · 1 min
[LeetCode Plus] Binary Tree Serialize and Deserialize
May 22 · 3 min
[NineChap 4.1] Linked List
May 22 · 9 min
[LeetCode Plus] Reverse linked list iteratively and recursively
May 22 · 1 min
[Design] Time complexity calculation (Master theorem)
May 22 · 1 min
[Question] Union and Intersection of two Linked Lists
May 22 · 1 min
[NineChap 4.2] Linked List Additional
May 22 · 5 min
[Question] Number Sum Sequence
May 22 · 1 min
[Brain teaser] 2 Eggs 100 Floors Puzzle
May 22 · 1 min
[Design] Cache and Page Replacement Algorithms
May 22 · 3 min
[LintCode] Longest Common Subsequence
May 22 · 1 min
[LintCode] Longest Increasing Subsequence
May 22 · 4 min
[Brain teaser] Khan Academy 8 brain teasers
May 22 · 14 min
[NineChap 6] Graph and Search
May 22 · 14 min
[LintCode] Previous Permutation
May 22 · 1 min
[Question] Topology Sort
May 22 · 4 min
[LintCode] Majority Number II
May 22 · 1 min
[LintCode] Majority Number III
May 22 · 1 min
[LintCode] Majority Number
May 22 · 1 min
[LintCode] Maximum Subarray II
May 22 · 1 min
[LintCode] Minimum Subarray
May 22 · 1 min
[NineChap 8] High Frequency Questions
May 22 · 9 min
[LintCode] Partition Array
May 22 · 1 min
[Question] Single Number III
May 22 · 2 min
[Question] Single Number IV
May 22 · 2 min
[Question] Coin Change Problem
May 22 · 3 min
[Question] Make a fair coin from a biased coin
May 22 · 1 min
[Question] 0-1 Knapsack Problem
May 22 · 2 min
[NineChap 9] Big Date, System Design and Resume (`)
May 22 · 2 min
[Design] HashMap vs Hashtable vs HashSet
May 22 · 1 min
[Question] Implement a HashMap
May 22 · 5 min
[Question] Implement Queue using Stacks
May 22 · 1 min
[Question] Median in a stream of integers
May 22 · 1 min
[Question] Min Stack
May 22 · 1 min
[Question] The Skyline Problem
May 22 · 2 min
[Question] Check Power of 2
May 22 · 1 min
[Question] Subarray with 0 Sum
May 22 · 1 min
[Question] Subarray with Particular Sum
May 22 · 1 min
[Question] Subarray with Sum Closest
May 22 · 1 min
[NineChap 10] Additional Questions
May 22 · 1 min
[Design] Two's complement (2's complement)
May 22 · 1 min
[Octopress] Clone Octopress Blog From A Different Computer
May 22 · 2 min
[Question] Longest Substring with At Most Two Distinct Characters
May 22 · 2 min
[Java OOP] OOP - 4 major principles
May 22 · 1 min
[Question] Quick Sort
May 22 · 1 min
[Question] Max Binary Gap
May 22 · 1 min
[Question] Bucket Sort (bin sort)
May 22 · 1 min
[Question] Largest palindrome product
May 22 · 2 min
[Question] Least Number after Deleting Digits
May 22 · 1 min
[Question] Implement Stack using Two Queues
May 22 · 2 min
[LeetCode Plus] Convert BST to Circular DLL
May 22 · 2 min
[Question] Find the first non-repeating character
May 22 · 1 min
[Design] Multithreading Basics
May 22 · 2 min
[Java OOP] Octal and Hexadecimal Numbers in Java
May 22 · 1 min
[Question] Find 10001st Prime (Sieve of E)
May 22 · 1 min
[Fundamental] Quickselect
May 22 · 2 min
[Design] Semaphore Mutex Toilet Example
May 22 · 1 min
[Testing] Test Number Divisibility
May 22 · 2 min
[Question] Truth tell brain teaser
May 22 · 1 min
[LeetCode Plus] Coins in a Line
May 22 · 2 min
[Question] Elephant And Bananas
May 22 · 1 min
[Question] Fit 1*2 Dominos In 2*N Strip
May 22 · 1 min
[Question] Reconstruct Tree From Pre-Order Traversal
May 22 · 1 min
[LeetCode Plus] Sliding Window Maximum
May 22 · 3 min
[Question] Breaking Chocolate Bars
May 22 · 1 min
[Question] Check If Number Exists
May 22 · 1 min
[Question] Matching Nuts And Bolts
May 22 · 1 min
[Question] Construct a BST from Preorder Traversal
May 22 · 1 min
[Question] Remove chars in Pairs
May 22 · 1 min
[Question] Which loop is faster
May 22 · 1 min
[Question] Nth Fibonacci Number In O(LogN)
May 22 · 1 min
[Question] Points On Globe Puzzle
May 22 · 1 min
[Question] Inorder Successor in Binary Search Tree
May 22 · 1 min
[Question] Run-Length Encoding
May 22 · 1 min
[Question] Arranging Sequence
May 22 · 2 min
[Question] Max Sum In A 2D Array (sub-matrix)
May 22 · 1 min
[Question] Overriding private method
May 22 · 1 min
[Question] Shuffle An Array (Fisher–Yates)
May 22 · 2 min
[Google] Print string comparison order
May 22 · 1 min
[Google] Design Solar System (`)
May 22 · 2 min
[Design] Multilayered architecture
May 22 · 1 min
[Google] Three Keys Data Structure
May 22 · 1 min
[CC150v4] 17.1 Type a URL in Browser and Hit Enter
May 22 · 3 min
[Google] Find Nearest Point in a 2D Space
May 22 · 1 min
[Google] Find Occurance Greater Than Index
May 22 · 1 min
[Design] Hadoop cluster
May 22 · 1 min
[Google] Traveller Path Problem
May 22 · 1 min
[Design] Amazon Web Services
May 22 · 1 min
[Design] MapReduce Intro
May 22 · 1 min
[Design] MapReduce Common Friends Example
May 22 · 3 min
[Google] Replace Question Mark With Number
May 22 · 1 min
[Google] Write a Random Number Generator
May 22 · 1 min
[Question] Print Numbers containing 5
May 22 · 1 min
[Google] Connect Graph Nodes and Avoid Intersect
May 22 · 1 min
[Design] HTTP Headers
May 22 · 3 min
[Design] Distributed Network Bottleneck
May 22 · 1 min
[Google] Million Phone Numbers
May 22 · 1 min
[Testing] Random error debugging 1
May 22 · 1 min
[CC150v4] 9.4 Sort Large Files
May 22 · 2 min
[Question] Add Integers without +/++
May 22 · 1 min
[Design] Composition Over Inheritance
May 22 · 1 min
[Question] Decimal to Hexadecimal
May 22 · 1 min
[Question] Max Sum Of Non-Consecutive Elements
May 22 · 1 min
[Design] Producer Consumer Problem
May 22 · 2 min
[Java OOP] Thread pool pattern
May 22 · 4 min
[Design] Functional programming
May 22 · 1 min
[Design] Median of array in Distributed Computers
May 22 · 1 min
[Design] Process VS. Thread
May 22 · 7 min
[Testing] Test Command Line Copy
May 22 · 2 min
[Design] Big Data - Remove Duplicate Numbers
May 22 · 1 min
[Design] Big Data - Top k Frequency (case analysis)
May 22 · 3 min
[Design] Big Data - Find Existence of a Number
May 22 · 1 min
[Design] Big Data - Find Median Numbers
May 22 · 1 min
[Design] Big Data - Fuzzy Search url (Bloom Filter)
May 22 · 1 min
[Google] Count Complete Binary Tree
May 22 · 1 min
[Design] TCP 3-Way Handshake
May 22 · 1 min
[ItInt5] Maximum circular subarray sum
May 22 · 1 min
[Design] From Client/Server to Multi-Tier
May 22 · 1 min
[CC150v4] 9.7 Circus Tower Routine
May 22 · 1 min
[Google] Alphabet Table (`)
May 22 · 2 min
[Question] Greatest Common Divisor
May 22 · 1 min
[ItInt5] 跳马问题加强版
May 22 · 2 min
[Google] Product All 1s
May 22 · 1 min
[Facebook] Task Scheduling Question
May 22 · 3 min
[ItInt5] Excel Decimal Conversion
May 22 · 1 min
[Google] Orthogonal Traverse the Map (`)
May 22 · 1 min
[Twitter] Arithmetic Expression Evaluation
May 22 · 1 min
[ItInt5] Number of Valid Trees Given Preorder and Postorder
May 22 · 1 min
[ItInt5] Numbers Concatenation Max (Largest Number)
May 22 · 1 min
[Question] Count Level in Perfect Binary Tree
May 22 · 1 min
[Java OOP] Factory Pattern
May 22 · 1 min
[Java OOP] Singleton Pattern Introduction
May 22 · 1 min
[Question] Count Set Bit in Binary Number
May 22 · 1 min
[Question] Ways of Dice Throw
May 22 · 1 min
[Java OOP] Singleton, 3 implementations
May 22 · 1 min
[CC150v5] 8.1 Design a Generic Deck of Cards
May 22 · 1 min
[Design] Merits of BST over HashTables
May 22 · 1 min
[Design] Shared Hosting vs. VPS Hosting
May 22 · 1 min
[Design] Stack and Heap
May 22 · 2 min
[CC150v5] 8.7 Design Online Chat Server (1)
May 22 · 4 min
[CC150v5] 8.8 Design Othello Game
May 22 · 6 min
[CC150v5] 8.10 Implement a Hashmap
May 22 · 3 min
[CC150v5] 8.9 Design a in-memory File System
May 22 · 2 min
[CC150v5] 8.4 Design a Parking Lot
May 22 · 3 min
[Design] OOD Design of Elevator
May 22 · 1 min
[Testing] Test hashCode() function
May 22 · 1 min
[Design] Virtual Memory, Page Fault and Thrashing
May 22 · 3 min
[Twitter] Count Visible Nodes in Binary Tree
May 22 · 1 min
[Question] Duplicate Rows in Matrix
May 22 · 2 min
[Google] Google API read4096 (read4K)
May 22 · 1 min
[Twitter] Largest Cycle in Permutation
May 22 · 1 min
[Design] HTTP cookie
May 22 · 2 min
[Google] Google Pre-interview Coaching
May 22 · 1 min
[CC150v4] 10.7 Ugly Numbers (Hamming numbers)
May 22 · 1 min
[Google] Boggle Solver (search words from matrix)
May 22 · 5 min
[Fundamental] A-Star Search
May 22 · 1 min
[Design] Cryptographic Hash, MD5 and Digital signature
May 22 · 1 min
[Fundamental] Min-Max Algorithm (minmax)
May 22 · 1 min
[Fundamental] Travelling salesman problem
May 22 · 1 min
[Facebook] Hamming Distance of Array
May 22 · 1 min
[Google] Crosswod Solver
May 22 · 1 min
[Design] Multithreading - Deadlock Prevention
May 22 · 1 min
[Google] Array Distance A(i)+A(j)+(j-i)
May 22 · 1 min
[Google] Find Anagrams in Dictionary
May 22 · 2 min
[Java OOP] Observer pattern
May 22 · 1 min
[Design] Leader Election
May 22 · 1 min
[Google] String Replacement Question
May 22 · 1 min
[Google] Weird Sort Array
May 22 · 1 min
[Google] Find Second Shortest Path
May 22 · 1 min
[Google] Unsolved Mystery of UTF8 Encoding
May 22 · 1 min
[Google] Form a Palindrome with Insertion
May 22 · 2 min
[CC150v4] 4.7 Check Subtree
May 22 · 1 min
[CC150v4] 3.4 Towers of Hanoi
May 22 · 2 min
[CC150v4] 4.8 Print Path Sum to Value
May 22 · 1 min
[CC150v4] 5.2 Convert Integer to Binary Form
May 22 · 1 min
[Brain teaser] 6.2 Cover the Chess Board
May 22 · 1 min
[CC150v4] 5.7 Find Missing Number
May 22 · 2 min
[CC150v4] 8.4 Generate Permutation Recursively
May 22 · 1 min
[CC150v4] 9.5 Search Array Containing Empty String
May 22 · 1 min
[CC150v4] 10.6 Find Collinear in 2D Plane
May 22 · 2 min
[CC150v4] 10.4 Implement Mathematical Operators
May 22 · 1 min
[CC150v4] 14.2 Java Finally Statement
May 22 · 1 min
[CC150v4] 14.6 Java HashMap Counter
May 22 · 1 min
[CC150v4] 14.1 Java Private Constructor
May 22 · 1 min
[CC150v4] 14.5 Java Reflection
May 22 · 1 min
[CC150v4] 15.1 SQL count and group by statement
May 22 · 1 min
[CC150v4] 15.2 SQL Types of Join
May 22 · 1 min
[CC150v4] 11.4 Test Webpage without Tools
May 22 · 1 min
[Google] Winner of tic-tac-toe
May 22 · 2 min
[CC150v4] 19.6 Convert Integer to English
May 22 · 1 min
[CC150v4] 19.4 Get Max Number without Comparator
May 22 · 1 min
[CC150v4] 20.4 Count 2s in Digits
May 22 · 1 min
[CC150v4] 20.8 Full Text Search (suffix tree)
May 22 · 2 min
[CC150v4] 20.3 Generate M int from Array of Size N
May 22 · 1 min
[CC150v4] 20.12 Sub-matrix with Largest Sum
May 22 · 1 min
[CC150v4] 20.6 Top Million from Billion
May 22 · 1 min
[Google] Length of Longest Arithmetic Progression (LLAP)
May 22 · 2 min
[Google] Arithmetic Progression Triplet
May 22 · 1 min
[Google] Barrier, Goods Van and Distance
May 22 · 1 min
[Question] Celebrity Problem
May 22 · 1 min
[Design] DNS Communication Protocol
May 22 · 1 min
[CC150v5] 3.0 Example - Implement Stack
May 22 · 1 min
[CC150v5] 2.7 Linked List Palindrome
May 22 · 1 min
[CC150v5] 3.2 Stack Min Value
May 22 · 1 min
[CC150v5] 3.7 Stack of Animals
May 22 · 2 min
[CC150v5] 5.1 Binary Merge 2 Numbers
May 22 · 1 min
[CC150v5] 5.5 Calculate Bits Conversion Required
May 22 · 1 min
[Google] Guess Password
May 22 · 1 min
[CC150v5] 5.6 Swap Odd and Even Bits
May 22 · 1 min
[CC150v5] 9.3 Find Magic Index
May 22 · 2 min
[CC150v5] 9.7 Paint Fill in Map
May 22 · 3 min
[CC150v5] 9.11 Parenthesize the Expression
May 22 · 2 min
[CC150v5] 9.10 Stack up the Boxes
May 22 · 1 min
[CC150v5] 11.4 Sort 20GB File
May 22 · 1 min
[CC150v5] 12.0 Example - Troubleshoot Google Chrome
May 22 · 1 min
[CC150v5] 14.6 Implement CircularArray in Java
May 22 · 2 min
[CC150v5] 17.6 Order an Array by Sorting Middle
May 22 · 1 min
[CC150v5] 11.8 Get Rank in Stream of Integers
May 22 · 1 min
[CC150v5] 17.13 Convert BST to DLL
May 22 · 2 min
[CC150v5] 17.14 Optimal Way to Unconcatenate Doc
May 22 · 1 min
[CC150v5] 18.7 Longest Word Made From Other Words
May 22 · 1 min
[Question] Interleave Positive and Negative Numbers
May 22 · 2 min
[Google] Code a HashMap
May 22 · 1 min
[Question] Multiples of 3 and 5
May 22 · 1 min
[Epic] Patient Disease Data Structure
May 22 · 1 min
[Facebook] Print a Binary Tree in Vertical Order
May 22 · 1 min
[Question] Equilibrium Points in 2D Array
May 22 · 1 min
[Facebook] Binary Search Tree 3Sum
May 22 · 2 min
[Java OOP] Discussion of Polymorphism
May 22 · 1 min
[Facebook] Maximum sum such that no two elements are adjacent
May 22 · 1 min
[Ruby] RubyGems, gem, Gemfile and Bundler
May 22 · 1 min
[Question] Split an integer or coin
May 22 · 1 min
[Java OOP] Common Root of Java Classes
May 22 · 1 min
[Java OOP] Override/overload Java main method
May 22 · 1 min
[Ruby] Endless error with gem dependencies
May 22 · 5 min
[Java OOP] Java Runtime Exception
May 22 · 1 min
[Question] Frog Crossing (dynamic programming)
May 22 · 2 min
[Facebook] Write a Json prettifier
May 22 · 3 min
[Design] Big Data Storage
May 22 · 1 min
[Design] Cloud, Grid and Cluster
May 22 · 5 min
[Design] P2P Technology
May 22 · 2 min
[Question] Longest Common Substring
May 22 · 1 min
[Facebook] Scheduling Jobs with Max Cost
May 22 · 2 min
[Google] Number of distinct substrings
May 22 · 1 min
[Design] Real Time Top k
May 22 · 3 min
[Design] Big Data - Top k Frequency (hands-on)
May 22 · 2 min
[Amazon] Match triplet with reverse order
May 22 · 1 min
[Google] Form a Queue Given Heights
May 22 · 2 min
[Google] Maximum Count Array in a Queue
May 22 · 1 min
[Google] Reverse a Stack without DS
May 22 · 1 min
[Google] Diameter of a Binary Tree
May 22 · 1 min
[Question] All distinct subsequences with given length
May 22 · 2 min
[Google] Check if repeating subsequence exists
May 22 · 1 min
[LinkedIn] Find all repeating substring with given length
May 22 · 1 min
[Amazon] Longest Repeating Substring
May 22 · 1 min
[Google] Crazy Distance Between Strings
May 22 · 3 min
[Question] Number of distinct sub-sequence
May 22 · 2 min
[Question] Number of occurence of given sub-sequence
May 22 · 1 min
[Java OOP] BlockingQueue and Thread Pool
May 22 · 1 min
[Java OOP] Java BlockingQueue (1)
May 22 · 5 min
[Java OOP] Java BlockingQueue (2)
May 22 · 2 min
[Amazon] Find nodes of distance k from Binary Tree
May 22 · 1 min
[Amazon] Lexicographic rank of a string
May 22 · 1 min
[Question] Maximum square sub-matrix with all 1s
May 22 · 1 min
[Google] Lexicographic order (letter replacement) of dictionary
May 22 · 3 min
[Question] Check if two line segments intersect
May 22 · 2 min
[Design] Difference between HTTP protocol and TCP protocol
May 22 · 2 min
[Palantir] Largest basin size in matrix
May 22 · 9 min
[Design] Difference between HTTP and HTTPS
May 22 · 2 min
[Java OOP] Java Vector and ArrayList
May 22 · 1 min
[Google] Top n values from Sum of 2 arrays
May 22 · 1 min
[Design] Distributed Caching - memcached
May 22 · 3 min
[Question] Push and Pop Sequences of Stacks
May 22 · 1 min
[Fundamental] Pattern Searching Algorithms
May 22 · 1 min
[Fundamental] Prefix Tree
May 22 · 1 min
[Question] Two Dimensional Knapsack Problem
May 22 · 3 min
[Apple] Calculate Area
May 22 · 1 min
[Question] Product Array Puzzle
May 22 · 1 min
[Question] 2D Bin Packing
May 22 · 1 min
[Design] Limit the Request per Second
May 22 · 1 min
[Question] Stock Span Problem (couting BST)
May 22 · 2 min
[Design] Monitor Rps for Past sec/min/hr
May 22 · 1 min
[Google] Collatz Conjecture (Oneness property)
May 22 · 1 min
[Google] Data Structure of Insert, Remove, GetRandom
May 22 · 1 min
[Google] Number of subtrees with even nodes
May 22 · 3 min
[Google] Snakes and ladders
May 22 · 1 min
[Google] Implement a Blocking Queue
May 22 · 1 min
[Google] Multi-server Messaging System
May 22 · 1 min
[Java OOP] PubSub (Publish–subscribe) pattern
May 22 · 2 min
[Google] Set Cover Problem
May 22 · 1 min
[Design] Winning Games Rank (pagerank)
May 22 · 1 min
[Google] Continental divider
May 22 · 2 min
[Google] Max prodcut of strings that have no common char
May 22 · 1 min
[Design] Multithreading Async Increment Problem
May 22 · 1 min
[Question] Reservoir sampling
May 22 · 1 min
[Design] Big Data - Find Common Elements in 2 Lists
May 22 · 1 min
[Google] BST find ceiling
May 22 · 4 min
[Design] Difference: Internet and the Web
May 22 · 1 min
[Design] Find similar library books
May 22 · 1 min
[Facebook] Generate number with Given probability
May 22 · 1 min
[Google] Transform a unbalanced tree into balanced tree
May 22 · 1 min
[Java OOP] Can abstract class have constructor
May 22 · 1 min
[Google] Array Signature
May 22 · 1 min
[Question] Count multiples of array
May 22 · 1 min
[Google] Heap and BST conversion
May 22 · 1 min
[Design] Intro to Google Spanner
May 22 · 1 min
[Google] Number of slices
May 22 · 2 min
[Design] Application Server vs. Web Server
May 22 · 5 min
[LinkedIn] Isomorphic Strings
May 22 · 2 min
[LinkedIn] Executive's Schedule
May 22 · 1 min
[LinkedIn] Sum of integer weighted by depth
May 22 · 2 min
[LinkedIn] Unique combination of factors (因式分解)
May 22 · 1 min
[Google] Minimum adjustments
May 22 · 1 min
[LinkedIn] Sort part to make entire array sorted
May 22 · 1 min
[Design] Speed Up Webpage for Slow Connection (1)
May 22 · 4 min
[Design] Speed Up Webpage for Slow Connection (2)
May 22 · 2 min
[Design] Speed Up Webpage for Slow Connection (3)
May 22 · 1 min
[Design] HBase and HDFS
May 22 · 2 min
[LeetCode 154] Find Minimum in Rotated Sorted Array II
May 22 · 1 min
[LeetCode 153] Find Minimum in Rotated Sorted Array
May 22 · 1 min
[LeetCode 152] Maximum Product Subarray
May 22 · 1 min
[LeetCode 155] Min Stack
May 22 · 1 min
[Octopress] Add Google AdSense to Octopress
May 22 · 2 min
[LeetCode 160] Intersection of Two Linked Lists
May 22 · 2 min
[LeetCode 166] Fraction to Recurring Decimal
May 22 · 4 min
[LeetCode 165] Compare Version Numbers
May 22 · 2 min
[LeetCode 162] Find Peak Element
May 22 · 3 min
[Palantir] Find Duplicate within K Distance
May 22 · 1 min
[LeetCode 172] Factorial Trailing Zeroes
May 22 · 1 min
[LeetCode 164] Maximum Gap
May 22 · 3 min
[LeetCode 168] Excel Sheet Column Title
May 22 · 1 min
[LeetCode 169] Majority Element
May 22 · 1 min
[Question] 编程之美 NIM 一排石头的游戏
May 22 · 1 min
[UVa] Wooden Sticks
May 22 · 3 min
[LeetCode 173] Binary Search Tree Iterator
May 22 · 2 min
[LeetCode 174] Dungeon Game
May 22 · 3 min
[LeetCode 179] Largest Number
May 22 · 1 min
[LeetCode 187] Repeated DNA Sequences
May 22 · 3 min
[LeetCode 199] Binary Tree Right Side View
May 22 · 1 min
[LeetCode 198] House Robber
May 22 · 1 min
[LeetCode 201] Bitwise AND of Numbers Range
May 22 · 1 min
[LeetCode 191] Number of 1 Bits
May 22 · 1 min
[LeetCode 200] Number of Islands
May 22 · 2 min
[LeetCode 190] Reverse Bits
May 22 · 2 min
[LeetCode 189] Rotate Array
May 22 · 1 min
[Palantir] Sort Letters Given Lexicographic Order
May 22 · 1 min
[Java OOP] Overload, Override, Compile, Runtime (Static/Dynamic Polymph)
May 22 · 1 min
[Design] Linux and TCP ports
May 22 · 3 min
[Design] How is Pipe implemented in Unix/Linux
May 22 · 2 min
[NineChap System Design] Class 1.1: Overview
May 22 · 1 min
[NineChap System Design] Class 1.2: An Example
May 22 · 1 min
[NineChap System Design] Class 1.3: Improvement
May 22 · 2 min
[Java OOP] Three Properties of Class/Object
May 22 · 1 min
[NineChap System Design] Class 2.1: Database
May 22 · 4 min
[NineChap System Design] Class 2.2: Database
May 22 · 3 min
[NineChap System Design] Class 3.1: Web Service
May 22 · 4 min
[NineChap System Design] Class 3.2: Web Service
May 22 · 4 min
[NineChap System Design] Class 4.1: Crawler
May 22 · 7 min
[NineChap System Design] Class 4.2: Search Engine
May 22 · 1 min
[Design] How Google search works
May 22 · 1 min
[Design] Facebook Photo Storage
May 22 · 10 min
[Google] Shortest Manhattan Distance
May 22 · 1 min
[Fundamental] The 7 Bridges Problem
May 22 · 1 min
[Amazon] All Strings by Placing Spaces
May 22 · 1 min
[Question] Find Cloest Leaf in Binary Tree
May 22 · 2 min
[Question] Largest Sub-square with Edges filled
May 22 · 4 min
[Fundamental] Segment Tree
May 22 · 1 min
[LintCode] Segment Tree Build II
May 22 · 1 min
[LintCode] Segment Tree Build
May 22 · 1 min
[LintCode] Segment Tree Modify
May 22 · 1 min
[LintCode] Segment Tree Query
May 22 · 1 min
[LintCode] Segment Tree Query II
May 22 · 1 min
[Fundamental] UML Class Diagrams
May 22 · 2 min
[Java OOP] Why avoid using Protected?
May 22 · 3 min
[Fundamental] What is a Literal?
May 22 · 1 min
[Fundamental] Polynomial, quadratic, cubic and exponential
May 22 · 1 min
[Fundamental] Reflexive, Symmetric and Transitive Rules
May 22 · 1 min
[Java OOP] Java Vector and ArrayList
May 22 · 1 min
[Java OOP] What is Java Exception
May 22 · 1 min
[Java OOP] Static class and Inner class
May 22 · 1 min
[Java OOP] Java ArrayList implementation
May 22 · 1 min
[LeetCode 188] Best Time to Buy and Sell Stock IV
May 22 · 2 min
[Question] Partition Problem (divide array into halves)
May 22 · 1 min
[Design] Strategy design pattern
May 22 · 2 min
[Question] Swizzle Sort
May 22 · 1 min
[Design] Designing a simple web crawler
May 22 · 3 min
[Design] User Registry Table Design
May 22 · 1 min
[Octopress] Add Aside Content to Octopress
May 22 · 1 min
[Design] Design Twitter
May 22 · 3 min
[Design] MVC, MVP and MVVM
May 22 · 2 min
[Design] How to Design Logging
May 22 · 1 min
[Question] Dutch national flag problem
May 22 · 1 min
[Question] Trie Wildcard String Matching
May 22 · 1 min
Explain LLM in Simple Terms
Jan 01 · 1 min