![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
算法题
文章平均质量分 91
海啦啦喽
这个作者很懒,什么都没留下…
展开
-
算法题,持续更新
Asked by PinterestGiven an integer list where each number represents the number of hops you can make, determine whether you can reach to the last index starting at index 0.For example, [2, 0, 1, 0] returns True while [1, 1, 0, 1] returns False.原创 2022-04-06 17:33:28 · 327 阅读 · 0 评论 -
算法题(含初中高各等级)
[Easy]Given a list of numbers and a number k, return whether any two numbers from the list add up to k.For example, given [10, 15, 3, 7] and k of 17, return true since 10 + 7 is 17.原创 2019-10-17 15:39:23 · 2582 阅读 · 0 评论 -
面试之算法题
面试算法题有两个字符串a,b,求他们的公共字符串,并分析复杂度用数组实现一个栈,需要考虑并发二叉树任选2个节点,求公共祖先折半查找有序列表中的某个元素洗牌算法一个函数接受文件夹的名称作为输入参数,返回该文件夹中所有文件的全路径.请补充缺失的代码.有两个字符串a,b,求他们的公共字符串,并分析复杂度用数组实现一个栈,需要考虑并发二叉树任选2个节点,求公共祖先折半查找有序列表中的某个元素洗牌...原创 2019-10-25 15:01:20 · 321 阅读 · 0 评论