
算法
highmaple
这个作者很懒,什么都没留下…
展开
-
380. Insert Delete GetRandom O(1)
Design a data structure that supports all following operations in average O(1) time. insert(val): Inserts an item val to the set if not already present. remove(val): Removes an item val from the ...原创 2019-01-31 07:17:09 · 121 阅读 · 0 评论 -
1.Two Sum
Two Sum Category Difficulty Likes Dislikes algorithms Easy (43.81%) 10587 350 Tags Companies Given an array of integers, return indices of the two numbers such that they add up to a specific target. Y...原创 2019-09-18 14:53:17 · 120 阅读 · 0 评论 -
2.Add Two Numbers
Add Two Numbers Category Difficulty Likes Dislikes algorithms Medium (31.66%) 5950 1551 Tags Companies You are given two non-empty linked lists representing two non-negative integers. The digits are s...原创 2019-09-18 14:55:35 · 110 阅读 · 0 评论