Find First and Last Position of Element in Sorted Array
Leetcode 34. Find First and Last Position of Element in Sorted Array
Leetcode 34. Find First and Last Position of Element in Sorted Array
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
You do pizza delivery part-time to earn some extra bucks. Since you are a sincere and cool person, you did very well in delivery job… Read More »A Simple Tutorial on Binary Search Algorithm