Leetcode-21 Merge Two Sorted Linked Lists
merge two sorted linked lists and return it as a sorted list. The list should be made by splicing together the nodes of… Read More »Leetcode-21 Merge Two Sorted Linked Lists
merge two sorted linked lists and return it as a sorted list. The list should be made by splicing together the nodes of… Read More »Leetcode-21 Merge Two Sorted Linked Lists
Given the head of a singly linked list, reverse the list, and return the reversed list.
Given n non-negative integers representing an elevation map where the width of each bar is 1, compute how much water it can… Read More »Trapping Rain Water 💦 (Leetcode 42)
Leetcode 33: Search in Rotated Sorted Array