Arrays
Array Length vs. Capacity
Array capacity is how many items an array can hold, and array length is how many items an array currently has.
How To Search For An Element In An Array?
In this lesson, you will learn two popular searching algorithms developers use all the time to search for an element in an array.
Array In-Place Algorithm: Reverse Array
In this lesson, you will learn how to modify the input array to save some space.
What Are Dynamic Arrays? How Do They Differ From Traditional Arrays?
This article is a continuation of the "Introduction to array data structure" and contains sketches, memory diagrams, strengths and weaknesses with examples.
How To Convert Array To Dynamic Array?
In this lesson, you will learn how to resize a static array. Most of the advanced and complex data structures are built on arrays.
Introduction To Array Data Structure
This article is an introductory lesson on array data structure with sketches, memory diagrams, strengths, and weaknesses with examples.
How To Construct An Array-Like Data Structure?
You will learn to implement a custom array-like data structure and basic array operations.
Array Deletions and Shifting Algorithms
In this lesson, you will learn about an array of deletion and shifting algorithms with illustrations and code examples.
Two Sum Problem (Solutions in Java, JS, and TS)
In this two-sum problem, we use various approaches to solve the problem from brute force to an optimized approach. We also discuss the take-offs and talk about complexity analysis.
Solution Review: Missing Number
We solved the problem using lookup (hashtable), using the mathematical formula. Let's solve this more efficiently using bit-level operations with XOR and then optimize the solution.