PinnedBig O in Simple WordsTo know how efficient our code is, we must check how the number of steps in a code changes with respect to the number of inputs.Apr 14, 2022Apr 14, 2022
167. Two Sum II — Input Array Is SortedGiven a 1-indexed array of integers numbers that is already sorted in non-decreasing order, find two numbers such that they add up to a…Sep 15, 2022Sep 15, 2022
Leetcode 189. Rotate ArrayGiven an array, rotate the array to the right by k steps, where k is non-negative.Aug 29, 2022Aug 29, 2022
[Solution with Explanation] 977. Squares of a Sorted ArrayGiven an integer array nums sorted in non-decreasing order, return an array of the squares of each number sorted in non-decreasing order.Aug 25, 2022Aug 25, 2022
Binary Search AlgorithmConsider we have the following array sorted in ascending order.Aug 20, 2022Aug 20, 2022
Insertion sortIn insertion sort, we logically divide the array into two parts.Jul 20, 2022Jul 20, 2022
Search in Binary Search TreeThis is how we search for an element in a Binary Search Tree.Jun 11, 2022Jun 11, 2022
Binary Search TreeA binary Search tree is a type of binary tree. However, there are some rules for a binary tree to become a binary search tree.Jun 2, 2022Jun 2, 2022