11 2017 档案
摘要:Merge Two Sorted List Des: merge two sorted list into one sorted list (splicing the node of the first two lists) 我的思路: 每一个循环都复制一个新的new list node, 不破坏原
阅读全文
摘要:Nov. 5th Number of islands Des: 2D matrix Solution: 1. iterate through all the elements of the 2D matrix 2.if v == 1 bfs through the one hop neighbors
阅读全文

浙公网安备 33010602011771号