今際の国の呵呵君

Monday, December 31, 2018

[System Design]Online Chat System

Read more »
Posted by 今際の国の呵呵君 at 11:21 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: chat service, system design
Location: Newark, CA 94560, USA

[System Design]Web Crawler

Read more »
Posted by 今際の国の呵呵君 at 4:14 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: system design, web crawler
Location: Newark, CA 94560, USA

[System Design]TypeAhead


Read more »
Posted by 今際の国の呵呵君 at 2:46 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: system design, trie, typeahead
Location: Newark, CA 94560, USA

[LeetCode]Design Search Autocomplete System

Read more »
Posted by 今際の国の呵呵君 at 1:45 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: leetcode, system design, trie
Location: Newark, CA 94560, USA

Sunday, December 30, 2018

[System Design]Thread Pool

Read more »
Posted by 今際の国の呵呵君 at 11:29 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: system design, thread pool, threading
Location: Newark, CA 94560, USA

[System Design]Producer Consumer Queue


Read more »
Posted by 今際の国の呵呵君 at 11:14 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: producer consumer queue, system design, threading
Location: Newark, CA 94560, USA

[System Design]Location Based Service


Read more »
Posted by 今際の国の呵呵君 at 12:02 AM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: location based service, system design
Location: Newark, CA 94560, USA

Saturday, December 29, 2018

[LeetCode]Check Completeness of a Binary Tree


Read more »
Posted by 今際の国の呵呵君 at 5:58 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: binary tree, leetcode, tree
Location: Newark, CA 94560, USA

Friday, December 28, 2018

[LeetCode]Insertion Sort List

Read more »
Posted by 今際の国の呵呵君 at 11:43 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: leetcode, linkedlist, sort
Location: Newark, CA 94560, USA

[LeetCode]Odd Even Linked List

Read more »
Posted by 今際の国の呵呵君 at 11:32 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: leetcode, linkedlist
Location: Newark, CA 94560, USA

[LeetCode]Remove Linked List Elements

Read more »
Posted by 今際の国の呵呵君 at 11:26 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: leetcode, linkedlist
Location: Newark, CA 94560, USA

[LeetCode]Delete Node in a Linked List

Read more »
Posted by 今際の国の呵呵君 at 11:20 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: leetcode, linkedlist
Location: Newark, CA 94560, USA

[LeetCode]Middle of the Linked List

Read more »
Posted by 今際の国の呵呵君 at 11:04 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: leetcode, linkedlist, two pointer
Location: Newark, CA 94560, USA

[LeetCode]Valid Number


Read more »
Posted by 今際の国の呵呵君 at 12:27 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: DFA, leetcode, regular expression, state machine
Location: Newark, CA 94560, USA

Tuesday, December 25, 2018

[System Design]Dynamo


Read more »
Posted by 今際の国の呵呵君 at 11:35 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: distributed nosql database, dynamo, system design
Location: Newark, CA 94560, USA

[LeetCode]Reverse Linked List


Read more »
Posted by 今際の国の呵呵君 at 12:44 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: leetcode, linkedlist
Location: Newark, CA 94560, USA

Monday, December 24, 2018

[LeetCode]Linked List Cycle II

Read more »
Posted by 今際の国の呵呵君 at 9:58 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: leetcode, linkedlist, two pointer
Location: Newark, CA 94560, USA

[LeetCode]Linked List Cycle


Read more »
Posted by 今際の国の呵呵君 at 9:27 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: leetcode, linkedlist, two pointer
Location: Newark, CA 94560, USA

[System Design]Scaling Memcache

Read more »
Posted by 今際の国の呵呵君 at 1:03 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: distributed cache service, mamcache, system design
Location: Newark, CA 94560, USA

Sunday, December 23, 2018

[LeetCode]Maximum Sum of 3 Non-Overlapping Subarrays


Read more »
Posted by 今際の国の呵呵君 at 10:04 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: dynamic programming, leetcode
Location: Newark, CA 94560, USA

Thursday, December 20, 2018

[LeetCode]4Sum

Read more »
Posted by 今際の国の呵呵君 at 10:52 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: hashmap, leetcode
Location: Newark, CA 94560, USA

[LeetCode]3Sum Smaller


Read more »
Posted by 今際の国の呵呵君 at 10:45 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: leetcode, two pointer
Location: Newark, CA 94560, USA

[LeetCode]3Sum Smaller

Read more »
Posted by 今際の国の呵呵君 at 10:28 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: leetcode, two pointer
Location: Newark, CA 94560, USA

Wednesday, December 19, 2018

[LeetCode]4Sum

Read more »
Posted by 今際の国の呵呵君 at 11:26 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: dfs, hashmap, leetcode, two pointer
Location: Newark, CA 94560, USA

[LeetCode]3Sum

Read more »
Posted by 今際の国の呵呵君 at 10:51 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: leetcode, two pointer
Location: Newark, CA 94560, USA

[LeetCode]Two Sum II - Input array is sorted

Read more »
Posted by 今際の国の呵呵君 at 10:26 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: leetcode, two pointer
Location: Newark, CA 94560, USA

[LeetCode]Two Sum


Read more »
Posted by 今際の国の呵呵君 at 10:20 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: hashmap, leetcode
Location: Newark, NJ, USA

Saturday, December 1, 2018

[Summary]Random


Read more »
Posted by 今際の国の呵呵君 at 5:48 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: math, random, summary
Location: Newark, CA 94560, USA

[LeetCode]Random Flip Matrix


Read more »
Posted by 今際の国の呵呵君 at 5:27 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: leetcode, random
Location: Newark, CA 94560, USA

[LeetCode]Generate Random Point in a Circle


Read more »
Posted by 今際の国の呵呵君 at 3:30 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: leetcode, math, random
Location: Newark, NJ, USA

Monday, November 26, 2018

[LeetCode]Mirror Reflection

Read more »
Posted by 今際の国の呵呵君 at 10:31 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: gcd, leetcode, math
Location: Newark, CA 94560, USA

[LeetCode]Student Attendance Record II


Read more »
Posted by 今際の国の呵呵君 at 10:12 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: dynamic programming, leetcode
Location: Newark, CA 94560, USA

[LeetCode]Student Attendance Record I

Read more »
Posted by 今際の国の呵呵君 at 10:02 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: leetcode
Location: Newark, CA 94560, USA

Sunday, November 25, 2018

[LeetCode]Island Perimeter

Read more »
Posted by 今際の国の呵呵君 at 10:07 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: leetcode, math
Location: Newark, CA 94560, USA

Saturday, November 24, 2018

[Game]Snake

Read more »
Posted by 今際の国の呵呵君 at 6:15 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: game, implementation
Location: Newark, CA 94560, USA

[LeetCode]Bulls and Cows


Read more »
Posted by 今際の国の呵呵君 at 6:02 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest

[LeetCode]Guess the Word


Read more »
Posted by 今際の国の呵呵君 at 5:27 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: leetcode, minimax

Tuesday, November 20, 2018

[LeetCode]Find the Shortest Superstring


Read more »
Posted by 今際の国の呵呵君 at 10:49 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: dynamic programming, graph, leetcode, travelling salesman problem
Location: Newark, CA 94560, USA

MapReduce


Read more »
Posted by 今際の国の呵呵君 at 10:35 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: mapreduce, system design
Location: Newark, CA 94560, USA

Monday, November 19, 2018

GFS


Read more »
Posted by 今際の国の呵呵君 at 10:56 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: distributed file system, GFS, system design
Location: Newark, NJ, USA

Sunday, November 18, 2018

Big Table


Read more »
Posted by 今際の国の呵呵君 at 1:18 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: big table, nosql, system design
Location: Newark, NJ, USA

Wednesday, November 14, 2018

[LeetCode]Minimum Area Rectangle


Read more »
Posted by 今際の国の呵呵君 at 10:37 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: dynamic programming, leetcode
Location: Newark, CA 94560, USA

[LeetCode]Reorder Log Files


Read more »
Posted by 今際の国の呵呵君 at 9:45 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: implementation, leetcode, sort
Location: Newark, CA 94560, USA

Tuesday, November 13, 2018

[LeetCode]K-th Smallest Prime Fraction

Read more »
Posted by 今際の国の呵呵君 at 11:04 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: binary search, leetcode
Location: Newark, CA 94560, USA

Monday, November 12, 2018

[LeetCode]Closest Leaf in a Binary Tree


Read more »
Posted by 今際の国の呵呵君 at 10:47 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: binary tree, leetcode, recursion
Location: Newark, CA 94560, USA

[LeetCode]Minimum Area Rectangle


Read more »
Posted by 今際の国の呵呵君 at 10:22 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: enumerate, leetcode
Location: Newark, NJ, USA

[LeetCode]Range Sum of BST


Read more »
Posted by 今際の国の呵呵君 at 10:11 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: binary search tree, leetcode, recursion
Location: Newark, CA 94560, USA

Thursday, November 1, 2018

[LeetCode]Knight Probability in Chessboard


Read more »
Posted by 今際の国の呵呵君 at 10:35 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: dynamic programming, leetcode, recursion
Location: Newark, CA 94560, USA

Wednesday, October 31, 2018

[LeetCode]Unique Email Addresses


Read more »
Posted by 今際の国の呵呵君 at 9:01 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: implementation, leetcode
Location: Newark, CA 94560, USA

Tuesday, October 30, 2018

[LeetCode]Beautiful Array

Read more »
Posted by 今際の国の呵呵君 at 9:57 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: leetcode, math
Location: Newark, CA 94560, USA

Monday, October 29, 2018

[LeetCode]Binary Subarrays With Sum


Read more »
Posted by 今際の国の呵呵君 at 10:31 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: leetcode, presum, two pointer
Location: Newark, CA 94560, USA

[LeetCode]Minimum Falling Path Sum


Read more »
Posted by 今際の国の呵呵君 at 9:51 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: dynamic programming, leetcode
Location: Newark, CA 94560, USA

Sunday, October 28, 2018

[LeetCode]Minimize Malware Spread II


Read more »
Posted by 今際の国の呵呵君 at 8:55 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: bfs, graph, leetcode
Location: Newark, CA 94560, USA

[LeetCode] Minimize Malware Spread


Read more »
Posted by 今際の国の呵呵君 at 8:42 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: dfs, leetcode
Location: Newark, CA 94560, USA

[LeetCode]Pyramid Transition Matrix



Read more »
Posted by 今際の国の呵呵君 at 8:19 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: bit manipulation, dfs, leetcode
Location: Newark, CA 94560, USA

[LeetCode]Flip String to Monotone Increasing


Read more »
Posted by 今際の国の呵呵君 at 6:20 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: dynamic programming, enumerate, leetcode
Location: Newark, CA 94560, USA

[LeetCode]Sentence Similarity II


Read more »
Posted by 今際の国の呵呵君 at 6:06 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: dfs, graph, leetcode, union find
Location: Newark, CA 94560, USA

[LeetCode]Sentence Similarity


Read more »
Posted by 今際の国の呵呵君 at 5:34 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: leetcode
Location: Newark, CA 94560, USA

Thursday, October 25, 2018

[LeetCode]Predict the Winner


Read more »
Posted by 今際の国の呵呵君 at 10:18 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: dynamic programming, leetcode, minimax
Location: Newark, CA 94560, USA

Tuesday, October 23, 2018

[LeetCode]Three Equal Parts


Read more »
Posted by 今際の国の呵呵君 at 10:43 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: dynamic programming, leetcode, math, presum
Location: Newark, CA 94560, USA

[LeetCode]Candy Crush


Read more »
Posted by 今際の国の呵呵君 at 10:02 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: in place, leetcode, two pointer
Location: Newark, CA 94560, USA

Monday, October 22, 2018

[LeetCode]Sliding Puzzle

Read more »
Posted by 今際の国の呵呵君 at 11:13 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: a star search, bfs, graph, leetcode, shortest path
Location: Newark, CA 94560, USA

Sunday, October 21, 2018

[LeetCode]Long Pressed Name


Read more »
Posted by 今際の国の呵呵君 at 12:16 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: leetcode, two pointer
Location: Newark, CA 94560, USA

Saturday, October 20, 2018

[LeetCode]Sort Array By Parity II


Read more »
Posted by 今際の国の呵呵君 at 10:54 AM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: leetcode, two pointer
Location: Newark, CA 94560, USA

Thursday, October 18, 2018

[POJ]1734 Sightseeing Trip


Read more »
Posted by 今際の国の呵呵君 at 9:32 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: floyd, poj, shortest path
Location: Newark, CA 94560, USA

[POJ]Stockbroker Grapevine


Read more »
Posted by 今際の国の呵呵君 at 8:38 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: floyd, poj, shortest path
Location: Newark, CA 94560, USA

Wednesday, October 17, 2018

[POJ]2240 Arbitrage


Read more »
Posted by 今際の国の呵呵君 at 11:15 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: bellman-ford, floyd, negative cycle, poj
Location: Newark, CA 94560, USA

[POJ]2185 Milking Grid


Read more »
Posted by 今際の国の呵呵君 at 9:18 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: kmp, poj, string
Location: Newark, CA 94560, USA

Tuesday, October 16, 2018

[POJ]2513 Colored Sticks


Read more »
Posted by 今際の国の呵呵君 at 10:19 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: eulerian path, poj, trie, union find
Location: Newark, CA 94560, USA

[POJ]3692 Kindergarten

Read more »
Posted by 今際の国の呵呵君 at 9:47 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: bipartite graph, maximum matching, poj
Location: Newark, CA 94560, USA

[POJ]3020 Antenna Placement

Read more »
Posted by 今際の国の呵呵君 at 9:09 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: bipartite graph, maximum matching, poj
Location: Newark, CA 94560, USA

[POJ]1548 Robots


Read more »
Posted by 今際の国の呵呵君 at 8:37 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: bipartite graph, maximum matching, poj
Location: Newark, CA 94560, USA

Monday, October 15, 2018

[LeetCode]Asteroid Collision


Read more »
Posted by 今際の国の呵呵君 at 10:37 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: leetcode, stack
Location: Newark, CA 94560, USA

[POJ]3041 Asteroids


Read more »
Posted by 今際の国の呵呵君 at 10:23 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: bipartite graph, maximum matching, poj
Location: Newark, CA 94560, USA

[POJ]2446 ChessBoard

Read more »
Posted by 今際の国の呵呵君 at 9:51 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: bipartite graph, graph, maximum matching, poj
Location: Newark, CA 94560, USA

Sunday, October 14, 2018

[POJ]1679 The Unique MST


Read more »
Posted by 今際の国の呵呵君 at 11:30 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: graph, MST, poj
Location: Newark, CA 94560, USA

[POJ]3259 Wormholes


Read more »
Posted by 今際の国の呵呵君 at 7:10 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: bellman-ford, graph, negative cycle, poj
Location: Newark, CA 94560, USA

[POJ]1816 Wild Words


Read more »
Posted by 今際の国の呵呵君 at 6:35 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: poj, regular expression, trie
Location: Newark, NJ, USA

Saturday, October 13, 2018

[POJ]POJ_2778_DNA_Sequence

Read more »
Posted by 今際の国の呵呵君 at 5:16 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: aho corasick, fast pow, graph, poj, string matching
Location: Newark, CA 94560, USA

[POJ]1204 Word Puzzles


Read more »
Posted by 今際の国の呵呵君 at 2:36 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: aho corasick, poj, string matching
Location: Newark, CA 94560, USA

Friday, October 12, 2018

[LeetCode]Largest Plus Sign

Read more »
Posted by 今際の国の呵呵君 at 10:00 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: dynamic programming, leetcode
Location: Newark, CA 94560, USA

[LeetCode]Number of Music Playlists


Read more »
Posted by 今際の国の呵呵君 at 9:53 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: dynamic programming, leetcode
Location: Newark, NJ, USA

Thursday, October 11, 2018

[LeetCode]Aho–Corasick algorithm/AC自动机


Read more »
Posted by 今際の国の呵呵君 at 11:16 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: aho corasick, kmp, leetcode, string, string matching, trie
Location: Newark, CA 94560, USA

Wednesday, October 10, 2018

[LeetCode]Complete Binary Tree Inserter


Read more »
Posted by 今際の国の呵呵君 at 8:53 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: binary tree, leetcode
Location: Newark, CA 94560, USA

[LeetCode]Reverse Only Letters


Read more »
Posted by 今際の国の呵呵君 at 8:27 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: leetcode, string, two pointer
Location: Newark, NJ, USA

Tuesday, October 9, 2018

[LeetCode]Maximum Sum Circular Subarray


Read more »
Posted by 今際の国の呵呵君 at 9:57 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: dynamic programming, leetcode
Location: Newark, CA 94560, USA

Monday, October 8, 2018

[Algorithm]Regular Expression and NFA


Read more »
Posted by 今際の国の呵呵君 at 10:10 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: algorithm, dfs, graph, nfa, regular expression
Location: Newark, CA 94560, USA

Saturday, October 6, 2018

[LeetCode]Cat and Mouse


Read more »
Posted by 今際の国の呵呵君 at 5:32 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: bfs, dfs, leetcode, minimax
Location: Newark, CA 94560, USA

Monday, October 1, 2018

[LeetCode]Partition Array into Disjoint Intervals


Read more »
Posted by 今際の国の呵呵君 at 11:03 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: binary search tree, dynamic programming, leetcode
Location: Newark, CA 94560, USA

Sunday, September 30, 2018

[LeetCode]Word Subsets


Read more »
Posted by 今際の国の呵呵君 at 10:01 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: leetcode, string
Location: Newark, CA 94560, USA

[LeetCode]X of a Kind in a Deck of Cards


Read more »
Posted by 今際の国の呵呵君 at 9:18 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: leetcode, math
Location: Newark, NJ, USA

Friday, September 28, 2018

[LeetCode]Number of Distinct Islands


Read more »
Posted by 今際の国の呵呵君 at 11:46 AM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: dfs, leetcode
Location: Newark, CA 94560, USA

Thursday, September 27, 2018

[LeetCode]Number of Distinct Islands II


Read more »
Posted by 今際の国の呵呵君 at 10:08 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: dfs, geometry, leetcode
Location: Newark, CA 94560, USA

[LeetCode]Insert into a Cyclic Sorted List


Read more »
Posted by 今際の国の呵呵君 at 9:02 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: leetcode, linkedlist
Location: Newark, CA 94560, USA

Wednesday, September 26, 2018

[LeetCode]Rectangle Area II


Read more »
Posted by 今際の国の呵呵君 at 11:04 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: leetcode, segment tree
Location: Newark, CA 94560, USA

Monday, September 24, 2018

[LeetCode]K-Similar Strings

Read more »
Posted by 今際の国の呵呵君 at 10:34 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: bfs, leetcode, shortest path
Location: Newark, NJ, USA

[LeetCode]Snakes and Ladders

Read more »
Posted by 今際の国の呵呵君 at 5:37 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: bfs, leetcode, shortest path
Location: San Francisco, CA, USA

[LeetCode]Smallest Range II


Read more »
Posted by 今際の国の呵呵君 at 5:28 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: enumerate, leetcode, sort
Location: San Francisco, CA, USA

[LeetCode]Smallest Range I


Read more »
Posted by 今際の国の呵呵君 at 4:13 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: leetcode
Location: San Francisco, CA, USA

[LeetCode]Online Election


Read more »
Posted by 今際の国の呵呵君 at 4:04 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: binary search, leetcode
Location: San Francisco, CA, USA

Friday, September 21, 2018

[LeetCode]Number Of Corner Rectangles

Read more »
Posted by 今際の国の呵呵君 at 5:07 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: enumerate, leetcode
Location: San Francisco, CA, USA

Thursday, September 20, 2018

[LeetCode]Minimum Cost to Hire K Workers


Read more »
Posted by 今際の国の呵呵君 at 10:22 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: heap, leetcode
Location: Newark, NJ, USA

[LeetCode]Open the Lock


Read more »
Posted by 今際の国の呵呵君 at 5:04 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: bfs, graph, leetcode, shortest path
Location: San Francisco, CA, USA

Wednesday, September 19, 2018

[LeetCode]Sum of Subarray Minimums


Read more »
Posted by 今際の国の呵呵君 at 10:01 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: leetcode, stack
Location: Newark, CA 94560, USA

Tuesday, September 18, 2018

[LeetCode]Nth Magical Number


Read more »
Posted by 今際の国の呵呵君 at 9:48 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: binary search, leetcode, math
Location: Newark, CA 94560, USA

[LeetCode]Fruit Into Baskets


Read more »
Posted by 今際の国の呵呵君 at 8:45 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: leetcode, sliding window, two pointer
Location: Newark, CA 94560, USA

Monday, September 17, 2018

[LeetCode]Super Palindromes

Read more »
Posted by 今際の国の呵呵君 at 9:19 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: leetcode, math
Location: Newark, CA 94560, USA

[LeetCode]Sort Array By Parity


Read more »
Posted by 今際の国の呵呵君 at 9:02 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: leetcode, sort
Location: Newark, CA 94560, USA

Saturday, September 15, 2018

[LeetCode]Encode N-ary Tree to Binary Tree


Read more »
Posted by 今際の国の呵呵君 at 10:30 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: binary tree, leetcode, recursion
Location: Newark, CA 94560, USA

Thursday, September 13, 2018

[LeetCode]Serialize and Deserialize N-ary Tree

Read more »
Posted by 今際の国の呵呵君 at 9:29 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: binary tree, leetcode, recursion
Location: Newark, CA 94560, USA

Wednesday, September 12, 2018

[LeetCode]Reorganize String

Read more »
Posted by 今際の国の呵呵君 at 10:12 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: greedy, leetcode, sort

[LeetCode]Wiggle Sort II


Read more »
Posted by 今際の国の呵呵君 at 9:55 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: leetcode, quick select, sort
Location: Newark, CA 94560, USA

Tuesday, September 11, 2018

[LeetCode]Valid Permutations for DI Sequence


Read more »
Posted by 今際の国の呵呵君 at 10:40 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest

Sunday, September 9, 2018

[LeetCode]Numbers At Most N Given Digit Set

Read more »
Posted by 今際の国の呵呵君 at 9:47 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: leetcode, math
Location: Newark, CA 94560, USA

[LeetCode]Online Stock Span

Read more »
Posted by 今際の国の呵呵君 at 9:27 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: leetcode, stack
Location: Newark, CA 94560, USA

[LeetCode]RLE Iterator


Read more »
Posted by 今際の国の呵呵君 at 9:05 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: implementation, leetcode
Location: Newark, NJ, USA

[LeetCode]Custom Sort String


Read more »
Posted by 今際の国の呵呵君 at 8:59 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: leetcode, sort
Location: Newark, CA 94560, USA

[LeetCode]Escape The Ghosts


Read more »
Posted by 今際の国の呵呵君 at 8:51 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: leetcode, math
Location: Newark, CA 94560, USA

Thursday, September 6, 2018

[LeetCode]Super Egg Drop


Read more »
Posted by 今際の国の呵呵君 at 10:29 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: binary search, dynamic programming, leetcode
Location: Newark, CA 94560, USA

[LeetCode]Number of Matching Subsequences


Read more »
Posted by 今際の国の呵呵君 at 12:42 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: leetcode, string, string matching, two pointer
Location: San Francisco, CA, USA

Wednesday, September 5, 2018

[LeetCode]Bitwise ORs of Subarrays


Read more »
Posted by 今際の国の呵呵君 at 10:39 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: dynamic programming, leetcode

[LeetCode]Domino and Tromino Tiling


Read more »
Posted by 今際の国の呵呵君 at 9:26 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: bit manipulation, dynamic programming, fast pow, leetcode
Location: Newark, CA 94560, USA

Tuesday, September 4, 2018

[LeetCode]Increasing Order Search Tree

Read more »
Posted by 今際の国の呵呵君 at 10:58 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: binary tree, leetcode, recursion
Location: Newark, CA 94560, USA

[LeetCode]Orderly Queue


Read more »
Posted by 今際の国の呵呵君 at 10:31 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: leetcode, math
Location: Newark, NJ, USA

Friday, August 31, 2018

[LeetCode]Strange Printer


Read more »
Posted by 今際の国の呵呵君 at 9:58 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: dynamic programming, leetcode
Location: Newark, CA 94560, USA

[LeetCode]Remove Boxes


Read more »
Posted by 今際の国の呵呵君 at 4:38 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: dynamic programming, leetcode
Location: San Francisco, CA, USA

Thursday, August 30, 2018

[LeetCode]Erect the Fence


Read more »
Posted by 今際の国の呵呵君 at 10:31 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: convex hull, geometry, leetcode
Location: Newark, CA 94560, USA

[LeetCode]Convex Polygon


Read more »
Posted by 今際の国の呵呵君 at 9:29 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: geometry, leetcode
Location: Newark, CA 94560, USA

Wednesday, August 29, 2018

[LeetCode]Robot Room Cleaner

Read more »
Posted by 今際の国の呵呵君 at 10:38 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Location: Newark, CA 94560, USA

[Algorithm]Implement DFS Iteratively


Read more »
Posted by 今際の国の呵呵君 at 10:01 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: algorithm, dfs, graph
Location: Newark, CA 94560, USA

Monday, August 27, 2018

[LeetCode]Find Eventual Safe States


Read more »
Posted by 今際の国の呵呵君 at 10:01 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: dfs, leetcode, topological sorting
Location: Newark, CA 94560, USA

[LeetCode]Champagne Tower


Read more »
Posted by 今際の国の呵呵君 at 9:48 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: dynamic programming, leetcode
Location: Newark, CA 94560, USA

[LeetCode]Maximum Frequency Stack


Read more »
Posted by 今際の国の呵呵君 at 9:39 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: data structure, leetcode
Location: Newark, CA 94560, USA

[LeetCode]Next Closest Time


Read more »
Posted by 今際の国の呵呵君 at 9:16 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: leetcode, sort
Location: Newark, CA 94560, USA

Thursday, August 23, 2018

[LeetCode]Cheapest Flights Within K Stops

Read more »
Posted by 今際の国の呵呵君 at 11:27 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: leetcode, shortest path
Location: Newark, CA 94560, USA

Wednesday, August 22, 2018

[LeetCode]Soup Servings

Read more »
Posted by 今際の国の呵呵君 at 9:40 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: dynamic programming, leetcode
Location: Newark, CA 94560, USA

[LeetCode]Expressive Words


Read more »
Posted by 今際の国の呵呵君 at 8:50 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: leetcode, string, two pointer
Location: Newark, CA 94560, USA

[LeetCode]Find and Replace Pattern


Read more »
Posted by 今際の国の呵呵君 at 8:43 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: leetcode, string
Location: Newark, CA 94560, USA

Tuesday, August 21, 2018

[LeetCode]Construct Binary Tree from Preorder and Postorder Traversal


Read more »
Posted by 今際の国の呵呵君 at 10:03 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: binary tree, iterative, leetcode, recursion
Location: Newark, CA 94560, USA

Monday, August 20, 2018

[LeetCode]Sum of Subsequence Widths


Read more »
Posted by 今際の国の呵呵君 at 10:08 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: dynamic programming, leetcode, math
Location: Newark, CA 94560, USA

Thursday, August 16, 2018

[LeetCode]Possible Bipartition


Read more »
Posted by 今際の国の呵呵君 at 9:49 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: bipartite graph, dfs, graph, leetcode
Location: Newark, CA 94560, USA

[LeetCode]Spiral Matrix III


Read more »
Posted by 今際の国の呵呵君 at 9:28 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: implementation, leetcode, traverse
Location: Newark, NJ, USA

Thursday, August 9, 2018

[LeetCode]Reachable Nodes In Subdivided Graph


Read more »
Posted by 今際の国の呵呵君 at 11:44 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: graph, leetcode, shortest path
Location: Newark, CA 94560, USA

[LeetCode]Boats to Save People


Read more »
Posted by 今際の国の呵呵君 at 8:51 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: leetcode, two pointer
Location: Newark, CA 94560, USA

Wednesday, August 8, 2018

[LeetCode]Backspace String Compare

Read more »
Posted by 今際の国の呵呵君 at 10:39 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: backwards, leetcode
Location: Newark, CA 94560, USA

[LeetCode]Decoded String at Index


Read more »
Posted by 今際の国の呵呵君 at 10:08 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: backwards, leetcode
Location: Newark, CA 94560, USA

[LeetCode]Stone Game

Read more »
Posted by 今際の国の呵呵君 at 9:27 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: dfs, dynamic programming, leetcode, math
Location: Newark, CA 94560, USA

Tuesday, August 7, 2018

[Algorithm]Maximum Matching of Bipartite Graph/二分图的最大匹配


Read more »
Posted by 今際の国の呵呵君 at 10:07 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: algorithm, bipartite graph, graph, maximum matching
Location: Newark, CA 94560, USA

Tuesday, July 31, 2018

[LeetCode]Is Graph Bipartite?


Read more »
Posted by 今際の国の呵呵君 at 9:15 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: bipartite graph, graph, leetcode
Location: Newark, CA 94560, USA

Monday, July 30, 2018

[LeetCode]Random Point in Non-overlapping Rectangles


Read more »
Posted by 今際の国の呵呵君 at 9:28 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: leetcode, math, random
Location: Newark, CA 94560, USA

Sunday, July 29, 2018

[Algorithm]Range Query/区间查询类问题


Read more »
Posted by 今際の国の呵呵君 at 10:26 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: algorithm, binary index tree, interval, quad tree, segment tree, sparse table, sqrt decomposition
Location: Newark, CA 94560, USA

[LeetCode]Meeting Rooms

Read more »
Posted by 今際の国の呵呵君 at 9:26 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: interval, leetcode
Location: Newark, CA 94560, USA

[LeetCode]Profitable Schemes


Read more »
Posted by 今際の国の呵呵君 at 3:52 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: dynamic programming, leetcode
Location: Newark, CA 94560, USA

Saturday, July 28, 2018

[LeetCode]Random Pick with Weight


Read more »
Posted by 今際の国の呵呵君 at 10:24 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: binary search, leetcode, random

Wednesday, July 25, 2018

[LeetCode]Leaf-Similar Trees


Read more »
Posted by 今際の国の呵呵君 at 10:12 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: binary tree, leetcode, recursion
Location: Newark, CA 94560, USA

[LeetCode]Walking Robot Simulation


Read more »
Posted by 今際の国の呵呵君 at 10:09 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: leetcode
Location: Newark, CA 94560, USA

[LeetCode]Length of Longest Fibonacci Subsequence


Read more »
Posted by 今際の国の呵呵君 at 10:06 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: dynamic programming, leetcode
Location: Newark, CA 94560, USA

[LeetCode]Koko Eating Bananas


Read more »
Posted by 今際の国の呵呵君 at 9:22 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: binary search, leetcode
Location: Newark, CA 94560, USA

Tuesday, July 24, 2018

[LeetCode]Advantage Shuffle


Read more »
Posted by 今際の国の呵呵君 at 10:55 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: greedy, leetcode
Location: Fremont, CA, USA

Thursday, July 19, 2018

[LeetCode]Reordered Power of 2


Read more »
Posted by 今際の国の呵呵君 at 9:20 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: leetcode
Location: Fremont, CA, USA

Tuesday, July 17, 2018

[LeetCode]Implement Rand10() Using Rand7()


Read more »
Posted by 今際の国の呵呵君 at 8:57 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: leetcode, math
Location: Fremont, Seattle, WA, USA

[LeetCode]Minimum Number of Refueling Stops


Read more »
Posted by 今際の国の呵呵君 at 12:09 AM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: dynamic programming, greedy, leetcode
Location: Fremont, Seattle, WA, USA

Tuesday, July 10, 2018

[LeetCode]Prime Palindrome


Read more »
Posted by 今際の国の呵呵君 at 10:43 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: leetcode, math
Location: Fremont, CA, USA

[LeetCode]Smallest Subtree with all the Deepest Nodes


Read more »
Posted by 今際の国の呵呵君 at 12:39 AM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: binary tree, leetcode, recursion
Location: Fremont, CA, USA

Monday, July 9, 2018

[LeetCode]Shortest Path to Get All Keys


Read more »
Posted by 今際の国の呵呵君 at 11:56 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: bfs, shortest path
Location: Fremont, CA, USA

Saturday, July 7, 2018

[LeetCode]My Calendar III


Read more »
Posted by 今際の国の呵呵君 at 10:39 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: interval, leetcode, segment tree
Location: Fremont, CA, USA

[LeetCode]My Calendar II


Read more »
Posted by 今際の国の呵呵君 at 9:28 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: interval, leetcode
Location: Fremont, CA, USA

[LeetCode]Car Fleet


Read more »
Posted by 今際の国の呵呵君 at 11:38 AM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: leetcode, sort
Location: Fremont, CA, USA

Friday, July 6, 2018

[LeetCode]Exam Room


Read more »
Posted by 今際の国の呵呵君 at 10:19 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: interval, leetcode, segment tree
Location: Fremont, CA, USA

[LeetCode]Score After Flipping Matrix


Read more »
Posted by 今際の国の呵呵君 at 8:48 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: greedy, leetcode
Location: Fremont, CA, USA

Thursday, July 5, 2018

[LeetCode]Random Pick with Blacklist

Read more »
Posted by 今際の国の呵呵君 at 10:47 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: leetcode, random
Location: Fremont, CA, USA

[LeetCode]Shortest Subarray with Sum at Least K


Read more »
Posted by 今際の国の呵呵君 at 10:29 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: leetcode, sliding window
Location: Fremont, CA, USA

[LeetCode]All Nodes Distance K in Binary Tree


Read more »
Posted by 今際の国の呵呵君 at 9:50 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: binary tree, dfs, leetcode
Location: Fremont, CA, USA

Wednesday, June 27, 2018

[LeetCode]Queue Reconstruction by Height


Read more »
Posted by 今際の国の呵呵君 at 9:15 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: leetcode, segment tree, sort
Location: Fremont, CA, USA

Monday, June 18, 2018

[Data Structure]Binary Indexed Tree/Fenwick Tree

Read more »
Posted by 今際の国の呵呵君 at 11:02 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: binary index tree, data structure
Location: Fremont, CA, USA

Saturday, June 16, 2018

[LeetCode]Range Module


Read more »
Posted by 今際の国の呵呵君 at 5:30 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: binary search tree, interval, leetcode, segment tree
Location: Fremont, CA, USA

Thursday, May 31, 2018

[LintCode]Eat The Beans


Read more »
Posted by 今際の国の呵呵君 at 10:42 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: dynamic programming, LintCode
Location: Fremont, CA, USA

Wednesday, May 30, 2018

[LeetCode]Similar String Groups

Read more »
Posted by 今際の国の呵呵君 at 11:09 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: dfs, graph, leetcode, union find
Location: Fremont, CA, USA

[LintCode]Digital Coverage

Read more »
Posted by 今際の国の呵呵君 at 10:23 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: interval, LintCode

[LintCode]Gas Station II

Read more »
Posted by 今際の国の呵呵君 at 9:54 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: bfs, LintCode
Location: Fremont, CA, USA

Tuesday, May 29, 2018

[LintCode]The Longest Scene


Read more »
Posted by 今際の国の呵呵君 at 10:08 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: interval, LintCode, stack
Location: Fremont, CA, USA

[LinttCode]The Barycentre Of The Trees


Read more »
Posted by 今際の国の呵呵君 at 9:40 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: dfs, dynamic programming, LintCode
Location: Fremont, CA, USA

Thursday, May 24, 2018

[LeetCode]Ambiguous Coordinates


Read more »
Posted by 今際の国の呵呵君 at 11:26 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: dfs, leetcode
Location: Fremont, CA, USA

Tuesday, May 22, 2018

[LeetCode]New 21 Game


Read more »
Posted by 今際の国の呵呵君 at 11:22 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: dynamic programming, leetcode

Thursday, May 17, 2018

[LeetCode]Take Coins


Read more »
Posted by 今際の国の呵呵君 at 11:00 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: leetcode, presum
Location: Fremont, CA, USA

[LeetCode]Find And Replace in String

Read more »
Posted by 今際の国の呵呵君 at 9:28 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: leetcode
Location: Fremont, CA, USA

[LeetCode]Image Overlap

Read more »
Posted by 今際の国の呵呵君 at 8:53 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: leetcode
Location: Fremont, CA, USA

Tuesday, May 15, 2018

[LeetCode]Fermat Point Of Graphs


Read more »
Posted by 今際の国の呵呵君 at 10:52 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: dfs, dynamic programming, leetcode
Location: Fremont, CA, USA

Monday, May 14, 2018

[LeetCode]Sum of Distances in Tree

Read more »
Posted by 今際の国の呵呵君 at 10:09 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: dfs, dynamic programming, graph, leetcode

Sunday, May 13, 2018

[POJ]1159 Palindrome

Read more »
Posted by 今際の国の呵呵君 at 5:08 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: dynamic programming, poj
Location: Fremont, CA, USA

[LeetCode]Masking Personal Information


Read more »
Posted by 今際の国の呵呵君 at 3:48 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: implementation, leetcode, string
Location: Fremont, CA, USA

[LeetCode]UTF-8 Validation


Read more »
Posted by 今際の国の呵呵君 at 3:26 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: leetcode, string
Location: Fremont, CA, USA

Thursday, May 10, 2018

[Algorithm]String Encoding

Read more »
Posted by 今際の国の呵呵君 at 11:39 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: algorithm, string
Location: Fremont, CA, USA

Wednesday, May 9, 2018

[Algorith]Shortest Path

Read more »
Posted by 今際の国の呵呵君 at 11:22 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: algorithm, shortest path
Location: Redwood City, CA, USA

[LeetCode]Diameter of Binary Tree

Read more »
Posted by 今際の国の呵呵君 at 10:37 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: binary tree, leetcode, recursion
Location: Fremont, CA, USA

[LeetCode]Delete and Earn


Read more »
Posted by 今際の国の呵呵君 at 10:09 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: dynamic programming, leetcode
Location: Fremont, CA, USA

Tuesday, May 8, 2018

[LeetCode]Reach a Number


Read more »
Posted by 今際の国の呵呵君 at 9:52 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: leetcode, math
Location: Fremont, CA, USA

Monday, May 7, 2018

[LeetCode]Unique Letter String


Read more »
Posted by 今際の国の呵呵君 at 10:04 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: leetcode, reduce dimension
Location: Fremont, CA, USA

[LeetCode]Consecutive Numbers Sum


Read more »
Posted by 今際の国の呵呵君 at 9:11 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: leetcode, math
Location: Fremont, CA, USA

Saturday, May 5, 2018

[LeetCode]Poor Pigs


Read more »
Posted by 今際の国の呵呵君 at 10:34 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: leetcode, math
Location: Fremont, CA, USA

Wednesday, May 2, 2018

[LeetCode]Next Greater Element II

Read more »
Posted by 今際の国の呵呵君 at 10:33 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: leetcode, stack
Location: Fremont, CA, USA

[LeetCode]Next Greater Element I


Read more »
Posted by 今際の国の呵呵君 at 10:24 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: leetcode, stack
Location: Fremont, CA, USA

[LeetCode]Daily Temperatures

Read more »
Posted by 今際の国の呵呵君 at 10:20 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: leetcode, stack
Location: Fremont, CA, USA

Tuesday, May 1, 2018

[LeetCode]Most Profit Assigning Work


Read more »
Posted by 今際の国の呵呵君 at 10:59 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: binary search, leetcode, two pointer
Location: Fremont, CA, USA

Monday, April 30, 2018

[LeetCode]My Calendar I

Read more »
Posted by 今際の国の呵呵君 at 10:48 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: interval, leetcode
Location: Fremont, CA, USA

[LeetCode]Making A Large Island


Read more »
Posted by 今際の国の呵呵君 at 10:25 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: dfs, leetcode, union find
Location: Fremont, CA, USA

Wednesday, April 25, 2018

[LeetCode]Palindromic Substrings


Read more »
Posted by 今際の国の呵呵君 at 9:15 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: dynamic programming, leetcode, two pointer
Location: Fremont, CA, USA

Monday, April 23, 2018

[LeetCode]Race Car


Read more »
Posted by 今際の国の呵呵君 at 11:33 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: dfs, dynamic programming, leetcode, shortest path
Location: Fremont, CA, USA

[LeetCode]Kill Process

Read more »
Posted by 今際の国の呵呵君 at 9:31 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: bfs, binary tree, dfs, leetcode
Location: Fremont, CA, USA

[LeetCode]Largest Sum of Averages

Read more »
Posted by 今際の国の呵呵君 at 9:21 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: dynamic programming, leetcode
Location: Fremont, CA, USA

Sunday, April 22, 2018

[LeetCode]Number of Atoms

Read more »
Posted by 今際の国の呵呵君 at 11:08 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: leetcode, parsing
Location: Fremont, CA, USA

[LeetCode]Card Flipping Game

Read more »
Posted by 今際の国の呵呵君 at 10:54 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: leetcode
Location: Fremont, CA, USA

[LeetCode]Binary Trees With Factors


Read more »
Posted by 今際の国の呵呵君 at 9:41 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: binary tree, dynamic programming, leetcode
Location: Fremont, CA, USA

Thursday, April 12, 2018

[LeetCode]Solve the Equation


Read more »
Posted by 今際の国の呵呵君 at 10:29 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: leetcode, parsing
Location: Redwood City, CA, USA

Wednesday, April 11, 2018

[POJ]1258 Agri-Net

Read more »
Posted by 今際の国の呵呵君 at 10:24 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: graph, MST, poj
Location: Redwood City, CA, USA

[Algorithm]Minimum Spanning Tree

Read more »
Posted by 今際の国の呵呵君 at 9:55 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: algorithm, dynamic programming, graph, MST, union find
Location: Redwood City, CA, USA

[LeetCode]Network Delay Time


Read more »
Posted by 今際の国の呵呵君 at 8:59 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: graph, leetcode, shortest path
Location: Redwood City, CA, USA

Tuesday, April 10, 2018

[LeetCode]Non-negative Integers without Consecutive Ones


Read more »
Posted by 今際の国の呵呵君 at 10:58 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: bit manipulation, dynamic programming, leetcode
Location: Redwood City, CA, USA

Monday, April 9, 2018

[LeetCode]Bus Routes


Read more »
Posted by 今際の国の呵呵君 at 9:51 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: bfs, graph, leetcode
Location: Redwood City, CA, USA

Sunday, April 8, 2018

[LeetCode]Read N Characters Given Read4 II - Call multiple times


Read more »
Posted by 今際の国の呵呵君 at 9:49 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: data structure, implementation, leetcode
Location: Redwood City, CA, USA

[LeetCode]Read N Characters Given Read4


Read more »
Posted by 今際の国の呵呵君 at 6:05 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: data structure, implementation, leetcode
Location: Redwood City, CA, USA

Saturday, April 7, 2018

[LeetCode]Encode String with Shortest Length



Read more »
Posted by 今際の国の呵呵君 at 11:55 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: dynamic programming, kmp, leetcode
Location: Redwood City, CA, USA

[Algorithm]Minimum Substring Cover


Read more »
Posted by 今際の国の呵呵君 at 11:20 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: kmp, leetcode
Location: Redwood City, CA, USA

[LeetCode]Tag Validator


Read more »
Posted by 今際の国の呵呵君 at 4:47 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: leetcode, parsing, state machine
Location: Redwood City, CA, USA

Thursday, April 5, 2018

[LeetCode]Chalkboard XOR Game


Read more »
Posted by 今際の国の呵呵君 at 10:50 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: bit manipulation, leetcode, recursion
Location: Redwood City, CA, USA

Monday, April 2, 2018

[LeetCode]Freedom Trail


Read more »
Posted by 今際の国の呵呵君 at 11:32 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: dynamic programming, leetcode, recursion
Location: Redwood City, CA, USA

Sunday, March 25, 2018

[LeetCode]Remove 9

Read more »
Posted by 今際の国の呵呵君 at 11:15 AM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: leetcode, math
Location: Redwood City, CA, USA

Saturday, March 24, 2018

[LeetCode]Contain Virus

Read more »
Posted by 今際の国の呵呵君 at 8:55 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: dfs, graph, leetcode
Location: Redwood City, CA, USA

Thursday, March 22, 2018

[LeetCode]Super Washing Machines

Read more »
Posted by 今際の国の呵呵君 at 11:14 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: dynamic programming, leetcode
Location: Redwood City, CA, USA

[LeetCode]Bricks Falling When Hit

Read more »
Posted by 今際の国の呵呵君 at 9:53 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: graph, leetcode, union find
Location: Redwood City, CA, USA

[LeetCode]IPO

Read more »
Posted by 今際の国の呵呵君 at 9:22 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: dynamic programming, greedy, leetcode
Location: Redwood City, CA, USA

Tuesday, March 20, 2018

[LeetCode]Frog Jump


Read more »
Posted by 今際の国の呵呵君 at 11:59 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: dynamic programming, leetcode
Location: Redwood City, CA, USA

Monday, March 19, 2018

[LeetCode]Zuma Game


Read more »
Posted by 今際の国の呵呵君 at 11:21 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: leetcode, recursion
Location: Redwood City, CA, USA

Thursday, March 15, 2018

[LeetCode]Stickers to Spell Word


Read more »
Posted by 今際の国の呵呵君 at 11:18 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: dynamic programming, leetcode
Location: Redwood City, CA, USA

Sunday, March 11, 2018

[Algorithm]Power of Adjacent Matrix in Graph

Read more »
Posted by 今際の国の呵呵君 at 10:23 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: algorithm, dynamic programming, fast pow, graph
Location: Redwood City, CA, USA

[POJ]3040 Fibonacci

Read more »
Posted by 今際の国の呵呵君 at 7:49 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: fast pow, poj
Location: Redwood City, CA, USA

[Algorithm]Fast Pow


Read more »
Posted by 今際の国の呵呵君 at 5:49 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: algorithm, bit manipulation, divide and conquer, fast pow
Location: Redwood City, CA, USA

Monday, February 19, 2018

[MeetCoder]Cross Bridge

Read more »
Posted by 今際の国の呵呵君 at 9:42 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: dynamic programming, leetcode
Location: Redwood City, CA, USA

[POJ]1141 Brackets Sequence


Read more »
Posted by 今際の国の呵呵君 at 8:05 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: dynamic programming, leetcode
Location: Redwood City, CA, USA

[POJ]2955 Brackets


Read more »
Posted by 今際の国の呵呵君 at 7:46 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: dynamic programming, poj
Location: Redwood City, CA, USA

Sunday, February 18, 2018

[LintCode]Longest Common Subsequence


Read more »
Posted by 今際の国の呵呵君 at 5:11 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: dynamic programming, LintCode
Location: Redwood City, CA, USA

[LintCode]Longest Common Substring


Read more »
Posted by 今際の国の呵呵君 at 4:58 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: dynamic programming, LintCode
Location: Redwood City, CA, USA

Saturday, February 17, 2018

[LeetCode]Set Intersection Size At Least Two


Read more »
Posted by 今際の国の呵呵君 at 11:15 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: interval, leetcode
Location: Redwood City, CA, USA

[LeetCode]Employee Free Time


Read more »
Posted by 今際の国の呵呵君 at 10:05 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: interval, leetcode, sort
Location: Redwood City, CA, USA

[LeetCode]Swim in Rising Water

Read more »
Posted by 今際の国の呵呵君 at 7:28 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: binary search, dfs, graph, leetcode, union find
Location: Redwood City, CA, USA

Wednesday, February 14, 2018

[LeetCode]Swap Adjacent in LR String


Read more »
Posted by 今際の国の呵呵君 at 11:00 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: leetcode, two pointer
Location: Redwood City, CA, USA

Tuesday, February 13, 2018

[LeetCode]Reaching Points


Read more »
Posted by 今際の国の呵呵君 at 10:40 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: binary tree, graph, leetcode
Location: Redwood City, CA, USA

[LeetCode] Couples Holding Hands


Read more »
Posted by 今際の国の呵呵君 at 10:08 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: graph, leetcode
Location: Redwood City, CA, USA

[LeetCode]Rabbits in Forest


Read more »
Posted by 今際の国の呵呵君 at 9:31 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: greedy, leetcode
Location: Redwood City, CA, USA

Saturday, February 10, 2018

[LeetCode]Minimize Max Distance to Gas Station


Read more »
Posted by 今際の国の呵呵君 at 10:23 PM 1 comment:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: binary search, dynamic programming, leetcode
Location: Redwood City, CA, USA

[LeetCode]Split Array Largest Sum


Read more »
Posted by 今際の国の呵呵君 at 10:01 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: binary search, dynamic programming, leetcode

Monday, January 1, 2018

[LeetCode]Rearrange String k Distance Apart


Read more »
Posted by 今際の国の呵呵君 at 12:34 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: greedy, leetcode
Location: Redwood City, CA, USA
Newer Posts Older Posts Home
Subscribe to: Comments (Atom)

About Me

今際の国の呵呵君
View my complete profile

Blog Archive

  • ►  2019 (12)
    • ►  January (12)
  • ▼  2018 (252)
    • ▼  December (30)
      • [System Design]Online Chat System
      • [System Design]Web Crawler
      • [System Design]TypeAhead
      • [LeetCode]Design Search Autocomplete System
      • [System Design]Thread Pool
      • [System Design]Producer Consumer Queue
      • [System Design]Location Based Service
      • [LeetCode]Check Completeness of a Binary Tree
      • [LeetCode]Insertion Sort List
      • [LeetCode]Odd Even Linked List
      • [LeetCode]Remove Linked List Elements
      • [LeetCode]Delete Node in a Linked List
      • [LeetCode]Middle of the Linked List
      • [LeetCode]Valid Number
      • [System Design]Dynamo
      • [LeetCode]Reverse Linked List
      • [LeetCode]Linked List Cycle II
      • [LeetCode]Linked List Cycle
      • [System Design]Scaling Memcache
      • [LeetCode]Maximum Sum of 3 Non-Overlapping Subarrays
      • [LeetCode]4Sum
      • [LeetCode]3Sum Smaller
      • [LeetCode]3Sum Smaller
      • [LeetCode]4Sum
      • [LeetCode]3Sum
      • [LeetCode]Two Sum II - Input array is sorted
      • [LeetCode]Two Sum
      • [Summary]Random
      • [LeetCode]Random Flip Matrix
      • [LeetCode]Generate Random Point in a Circle
    • ►  November (18)
      • [LeetCode]Mirror Reflection
      • [LeetCode]Student Attendance Record II
      • [LeetCode]Student Attendance Record I
      • [LeetCode]Island Perimeter
      • [Game]Snake
      • [LeetCode]Bulls and Cows
      • [LeetCode]Guess the Word
      • [LeetCode]Find the Shortest Superstring
      • MapReduce
      • GFS
      • Big Table
      • [LeetCode]Minimum Area Rectangle
      • [LeetCode]Reorder Log Files
      • [LeetCode]K-th Smallest Prime Fraction
      • [LeetCode]Closest Leaf in a Binary Tree
      • [LeetCode]Minimum Area Rectangle
      • [LeetCode]Range Sum of BST
      • [LeetCode]Knight Probability in Chessboard
    • ►  October (41)
      • [LeetCode]Unique Email Addresses
      • [LeetCode]Beautiful Array
      • [LeetCode]Binary Subarrays With Sum
      • [LeetCode]Minimum Falling Path Sum
      • [LeetCode]Minimize Malware Spread II
      • [LeetCode] Minimize Malware Spread
      • [LeetCode]Pyramid Transition Matrix
      • [LeetCode]Flip String to Monotone Increasing
      • [LeetCode]Sentence Similarity II
      • [LeetCode]Sentence Similarity
      • [LeetCode]Predict the Winner
      • [LeetCode]Three Equal Parts
      • [LeetCode]Candy Crush
      • [LeetCode]Sliding Puzzle
      • [LeetCode]Long Pressed Name
      • [LeetCode]Sort Array By Parity II
      • [POJ]1734 Sightseeing Trip
      • [POJ]Stockbroker Grapevine
      • [POJ]2240 Arbitrage
      • [POJ]2185 Milking Grid
      • [POJ]2513 Colored Sticks
      • [POJ]3692 Kindergarten
      • [POJ]3020 Antenna Placement
      • [POJ]1548 Robots
      • [LeetCode]Asteroid Collision
      • [POJ]3041 Asteroids
      • [POJ]2446 ChessBoard
      • [POJ]1679 The Unique MST
      • [POJ]3259 Wormholes
      • [POJ]1816 Wild Words
      • [POJ]POJ_2778_DNA_Sequence
      • [POJ]1204 Word Puzzles
      • [LeetCode]Largest Plus Sign
      • [LeetCode]Number of Music Playlists
      • [LeetCode]Aho–Corasick algorithm/AC自动机
      • [LeetCode]Complete Binary Tree Inserter
      • [LeetCode]Reverse Only Letters
      • [LeetCode]Maximum Sum Circular Subarray
      • [Algorithm]Regular Expression and NFA
      • [LeetCode]Cat and Mouse
      • [LeetCode]Partition Array into Disjoint Intervals
    • ►  September (35)
      • [LeetCode]Word Subsets
      • [LeetCode]X of a Kind in a Deck of Cards
      • [LeetCode]Number of Distinct Islands
      • [LeetCode]Number of Distinct Islands II
      • [LeetCode]Insert into a Cyclic Sorted List
      • [LeetCode]Rectangle Area II
      • [LeetCode]K-Similar Strings
      • [LeetCode]Snakes and Ladders
      • [LeetCode]Smallest Range II
      • [LeetCode]Smallest Range I
      • [LeetCode]Online Election
      • [LeetCode]Number Of Corner Rectangles
      • [LeetCode]Minimum Cost to Hire K Workers
      • [LeetCode]Open the Lock
      • [LeetCode]Sum of Subarray Minimums
      • [LeetCode]Nth Magical Number
      • [LeetCode]Fruit Into Baskets
      • [LeetCode]Super Palindromes
      • [LeetCode]Sort Array By Parity
      • [LeetCode]Encode N-ary Tree to Binary Tree
      • [LeetCode]Serialize and Deserialize N-ary Tree
      • [LeetCode]Reorganize String
      • [LeetCode]Wiggle Sort II
      • [LeetCode]Valid Permutations for DI Sequence
      • [LeetCode]Numbers At Most N Given Digit Set
      • [LeetCode]Online Stock Span
      • [LeetCode]RLE Iterator
      • [LeetCode]Custom Sort String
      • [LeetCode]Escape The Ghosts
      • [LeetCode]Super Egg Drop
      • [LeetCode]Number of Matching Subsequences
      • [LeetCode]Bitwise ORs of Subarrays
      • [LeetCode]Domino and Tromino Tiling
      • [LeetCode]Increasing Order Search Tree
      • [LeetCode]Orderly Queue
    • ►  August (24)
      • [LeetCode]Strange Printer
      • [LeetCode]Remove Boxes
      • [LeetCode]Erect the Fence
      • [LeetCode]Convex Polygon
      • [LeetCode]Robot Room Cleaner
      • [Algorithm]Implement DFS Iteratively
      • [LeetCode]Find Eventual Safe States
      • [LeetCode]Champagne Tower
      • [LeetCode]Maximum Frequency Stack
      • [LeetCode]Next Closest Time
      • [LeetCode]Cheapest Flights Within K Stops
      • [LeetCode]Soup Servings
      • [LeetCode]Expressive Words
      • [LeetCode]Find and Replace Pattern
      • [LeetCode]Construct Binary Tree from Preorder and ...
      • [LeetCode]Sum of Subsequence Widths
      • [LeetCode]Possible Bipartition
      • [LeetCode]Spiral Matrix III
      • [LeetCode]Reachable Nodes In Subdivided Graph
      • [LeetCode]Boats to Save People
      • [LeetCode]Backspace String Compare
      • [LeetCode]Decoded String at Index
      • [LeetCode]Stone Game
      • [Algorithm]Maximum Matching of Bipartite Graph/二分图...
    • ►  July (25)
      • [LeetCode]Is Graph Bipartite?
      • [LeetCode]Random Point in Non-overlapping Rectangles
      • [Algorithm]Range Query/区间查询类问题
      • [LeetCode]Meeting Rooms
      • [LeetCode]Profitable Schemes
      • [LeetCode]Random Pick with Weight
      • [LeetCode]Leaf-Similar Trees
      • [LeetCode]Walking Robot Simulation
      • [LeetCode]Length of Longest Fibonacci Subsequence
      • [LeetCode]Koko Eating Bananas
      • [LeetCode]Advantage Shuffle
      • [LeetCode]Reordered Power of 2
      • [LeetCode]Implement Rand10() Using Rand7()
      • [LeetCode]Minimum Number of Refueling Stops
      • [LeetCode]Prime Palindrome
      • [LeetCode]Smallest Subtree with all the Deepest Nodes
      • [LeetCode]Shortest Path to Get All Keys
      • [LeetCode]My Calendar III
      • [LeetCode]My Calendar II
      • [LeetCode]Car Fleet
      • [LeetCode]Exam Room
      • [LeetCode]Score After Flipping Matrix
      • [LeetCode]Random Pick with Blacklist
      • [LeetCode]Shortest Subarray with Sum at Least K
      • [LeetCode]All Nodes Distance K in Binary Tree
    • ►  June (3)
      • [LeetCode]Queue Reconstruction by Height
      • [Data Structure]Binary Indexed Tree/Fenwick Tree
      • [LeetCode]Range Module
    • ►  May (28)
      • [LintCode]Eat The Beans
      • [LeetCode]Similar String Groups
      • [LintCode]Digital Coverage
      • [LintCode]Gas Station II
      • [LintCode]The Longest Scene
      • [LinttCode]The Barycentre Of The Trees
      • [LeetCode]Ambiguous Coordinates
      • [LeetCode]New 21 Game
      • [LeetCode]Take Coins
      • [LeetCode]Find And Replace in String
      • [LeetCode]Image Overlap
      • [LeetCode]Fermat Point Of Graphs
      • [LeetCode]Sum of Distances in Tree
      • [POJ]1159 Palindrome
      • [LeetCode]Masking Personal Information
      • [LeetCode]UTF-8 Validation
      • [Algorithm]String Encoding
      • [Algorith]Shortest Path
      • [LeetCode]Diameter of Binary Tree
      • [LeetCode]Delete and Earn
      • [LeetCode]Reach a Number
      • [LeetCode]Unique Letter String
      • [LeetCode]Consecutive Numbers Sum
      • [LeetCode]Poor Pigs
      • [LeetCode]Next Greater Element II
      • [LeetCode]Next Greater Element I
      • [LeetCode]Daily Temperatures
      • [LeetCode]Most Profit Assigning Work
    • ►  April (22)
      • [LeetCode]My Calendar I
      • [LeetCode]Making A Large Island
      • [LeetCode]Palindromic Substrings
      • [LeetCode]Race Car
      • [LeetCode]Kill Process
      • [LeetCode]Largest Sum of Averages
      • [LeetCode]Number of Atoms
      • [LeetCode]Card Flipping Game
      • [LeetCode]Binary Trees With Factors
      • [LeetCode]Solve the Equation
      • [POJ]1258 Agri-Net
      • [Algorithm]Minimum Spanning Tree
      • [LeetCode]Network Delay Time
      • [LeetCode]Non-negative Integers without Consecutiv...
      • [LeetCode]Bus Routes
      • [LeetCode]Read N Characters Given Read4 II - Call ...
      • [LeetCode]Read N Characters Given Read4
      • [LeetCode]Encode String with Shortest Length
      • [Algorithm]Minimum Substring Cover
      • [LeetCode]Tag Validator
      • [LeetCode]Chalkboard XOR Game
      • [LeetCode]Freedom Trail
    • ►  March (11)
      • [LeetCode]Remove 9
      • [LeetCode]Contain Virus
      • [LeetCode]Super Washing Machines
      • [LeetCode]Bricks Falling When Hit
      • [LeetCode]IPO
      • [LeetCode]Frog Jump
      • [LeetCode]Zuma Game
      • [LeetCode]Stickers to Spell Word
      • [Algorithm]Power of Adjacent Matrix in Graph
      • [POJ]3040 Fibonacci
      • [Algorithm]Fast Pow
    • ►  February (14)
      • [MeetCoder]Cross Bridge
      • [POJ]1141 Brackets Sequence
      • [POJ]2955 Brackets
      • [LintCode]Longest Common Subsequence
      • [LintCode]Longest Common Substring
      • [LeetCode]Set Intersection Size At Least Two
      • [LeetCode]Employee Free Time
      • [LeetCode]Swim in Rising Water
      • [LeetCode]Swap Adjacent in LR String
      • [LeetCode]Reaching Points
      • [LeetCode] Couples Holding Hands
      • [LeetCode]Rabbits in Forest
      • [LeetCode]Minimize Max Distance to Gas Station
      • [LeetCode]Split Array Largest Sum
    • ►  January (1)
      • [LeetCode]Rearrange String k Distance Apart
  • ►  2017 (210)
    • ►  December (15)
    • ►  November (46)
    • ►  October (50)
    • ►  September (72)
    • ►  August (21)
    • ►  July (1)
    • ►  April (5)
  • ►  2015 (89)
    • ►  February (12)
    • ►  January (77)
  • ►  2014 (10)
    • ►  December (7)
    • ►  November (3)

Total Pageviews

Awesome Inc. theme. Theme images by molotovcoketail. Powered by Blogger.