每天一点算法
文章平均质量分 59
低调的汉子
这个作者很懒,什么都没留下…
展开
-
Two Sum
Given an array of integers, return indices of the two numbers such that they add up to a specific target.You may assume that each input would have exactly one solution, and you may not use the same el...原创 2018-03-12 16:55:26 · 154 阅读 · 0 评论 -
Binary Tree Right Side View (bfs)
Given a binary tree, imagine yourself standing on the right side of it, return the values of the nodes you can see ordered from top to bottom.For example:Given the following binary tree, 1 ...原创 2018-03-14 13:43:44 · 234 阅读 · 0 评论