Skip to content

Data Structures and Algorithms

77 Posts

Methods to store, organize & process data efficiently for speed and memory optimization. DSA (Data Structures & Algorithms) means organizing data efficiently (arrays, trees, graphs, hash maps) and using step-by-step logic (sorting, searching, traversal) to solve problems quickly and with minimal memory — the foundation for building software that performs well at large scale.

Leetcode 217: Contains Duplicate

This lesson will teach you how to find the duplicate element using a hashing algorithm.

Find the Largest Element In the Array

In this lesson, you will learn how to approach the problem, and come up with different strategies to solve the problem.

Leetcode 1: Two Sum Problem

This lesson on "Two Sum" coding problem is discussed thoroughly with illustrations and various approaches with running time complexities.

How To Print a 2D Array Elements?

This lesson teaches you how to iterate through a 2D array of integers. The same follows with other data types.

Introduction To 2D Arrays

This article is an introductory lesson on 2D array ds with sketches, and memory diagrams with examples.

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.