# Data Structures and Algorithms

### Perfect Squares Problem (to Add Sum to Given Number)

Understand how to solve the leetcode problem of Perfect Square to find minimum perfect squares that sum up to a given number.

### Best Time to Buy and Sell Stock Problem (with code)

Understand how to solve Leetcode problem of Best Time to Buy and Sell Stock using dynamic programming and greedy approach.

### Median of Two Sorted Arrays (C++, Java, Python)

Let's solve the leetcode problem of how to find the median of two sorted arrays using two different approaches along with code in C++, Java, and Python.

### Word Ladder Problem (C++, Java, and Python)

Understand the word ladder programming problem from leetcode and get the solution in C++, Java, and Python.

### Longest Increasing Subsequence (C++, Java, Python)

Understand how to find the Longest Increasing Subsequence in an array using three approaches with programs in C++, Java, and Python.

### Two Sum Problem (C++, Java, and Python)

Understand the different ways to solve the Two Sum problem. Learn the algorithms and their program in C++, Java, and Python.

### Matrix Chain Multiplication using Dynamic Programming

When dealing with a chain of matrices, the order of multiplication can greatly impact computational efficiency. This is where the Matrix Chain Algorithm comes to the rescue. In this article,...

Page 8 of 8 1 7 8