#dsa
Read more stories on Hashnode
Articles with this tag
How to Quickly Find the First Defective Version Using Binary Search · Problem Statement You're given a function isBadVersion(version) that returns...
Simple Steps for Binary Searching in 2D Arrays · Problem Statement Given a matrix where: Integers in each row are sorted from left to right. The first...
A Deep Dive into Binary Search: Recursive vs. Iterative Techniques · What is Binary Search? Binary search is a highly efficient algorithm used to locate...
Counting Sort Explained - Easy Steps to Sort Colors Effectively · Sort Colors (LeetCode Problem #75). The challenge requires us to sort an array of...
How to Locate the K-th Largest Element · Given an integer array nums and an integer k, return the k-th largest element in the array. Note that it is the...
Learning the Quicksort Algorithm Steps · Quicksort is a divide-and-conquer algorithm that works by selecting a "pivot" element from the array and...