常梦网 Tag标签 [链表]如下:
当前位置:网站首页>-
Merge Two Sorted Lists - 每日算法
2024-08-05Difficulty:Easy
-
LinkedList 链表总结 - Ryan的修炼之路
2024-07-23leetcode好久不刷了,今天按照类型来刷linkedlist一类的,总结一下.
-
Add Two Numbers - 每日算法
2024-03-14Difficulty:Medium
-
[Leetcode] Rotate List 旋转链表
2024-01-31Givenalist,rotatethelisttotherightbykplaces,wherekisnon-negative.
-
[Leetcode] Reorder List 链表重新排序
2024-01-29GivenasinglylinkedlistL:L0→L1→…→Ln-1→Ln,reorderitto:L0→Ln→L1→Ln-1→L2→Ln-2→…
-
[Leetcode] Palindrome Linked List 回文链表
2024-01-27Givenasinglylinkedlist,determineifitisapalindrome.
-
[Leetcode] LRU Cache 最近使用缓存
2024-01-24DesignandimplementadatastructureforLeastRecentlyUsed(LRU)cache.Itshouldsupportthefollowingoperations:getandset.
-
时间O(N)空间O(1)
-
Givenasinglylinkedlistwhereelementsaresortedinascendingorder,convertittoaheightbalancedBST.