TongTong Shi's Blog
A Playground to Share My Knowledge
Accounts Merge Accounts Merge
LeetCode Q 721 - Accounts MergeGiven a list accounts, each element accounts[i] is a list of strings, where the first ele
2019-05-06 Tong Shi
Evaluate Division Evaluate Division
LeetCode Q 399 - Evaluate DivisionEquations are given in the format A / B = k, where A and B are variables represented a
2019-05-06 Tong Shi
Maximum Swap Maximum Swap
LeetCode Q 670 - Maximum SwapGiven a non-negative integer, you could swap two digits at most once to get the maximum val
2019-05-06 Tong Shi
Keys and Rooms Keys and Rooms
LeetCode Q 841 - Keys and RoomsThere are N rooms and you start in room 0. Each room has a distinct number in 0, 1, 2, .
2019-05-06 Tong Shi
Making A Large Island Making A Large Island
LeetCode Q 827 - Making A Large IslandIn a 2D grid of 0s and 1s, we change at most one 0 to a 1.After, what is the size
2019-05-06 Tong Shi
Max Area of Island Max Area of Island
LeetCode Q 695 - Max Area of IslandGiven a non-empty 2D array grid of 0’s and 1’s, an island is a group of 1’s (represen
2019-05-06 Tong Shi
45 / 79