- 博客(3)
- 收藏
- 关注
原创 778-Swim in Rising Water
Description On an N x N grid, each square grid[i][j] represents the elevation at that point (i,j). Now rain starts to fall. At time t, the depth of the water everywhere is t. You can swim from a squ...
2018-06-06 21:46:17 627 1
原创 130-Surrounded Regions
Description Given a 2D board containing ‘X’ and ‘O’ (the letter O), capture all regions surrounded by ‘X’. A region is captured by flipping all ‘O’s into ‘X’s in that surrounded region. Example: ...
2018-06-05 21:30:50 431
原创 133-Clone Graph
Description Clone an undirected graph. Each node in the graph contains a label and a list of its neighbors. OJ’s undirected graph serialization: Nodes are labeled uniquely. We use # as a separator...
2018-06-05 17:48:14 359
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人