DSA - Data Structures and Algorithms
-
1 August 2025
String Manipulation
-
4 August 2025
5 August 2025
Array Manipulation
Common Array Operations:
- Set: Assign a value to an element at a specific index.
- Insert: Add a new element at a specific position.
- Get: Retrieve the value of an element at a specific index.
- Delete: Remove an element from a specific position.
- Init: Initialize the array with values.
- Traverse: Visit each element in the array sequentially.
Array Problems:
-
Find the maximum and minimum elements in an array.
HTML
-
Calculate the sum and average of elements in an array.
HTML
-
Rotate an array by a given number of steps.
HTML
-
Find the second largest element in an array.
HTML
-
Remove duplicates from a sorted array.
HTML
-
Implement linear search algorithms.
HTML
-
Implement a stack using an array.
HTML
-
Implement a queue using an array.
HTML
-
Merge two sorted arrays into one sorted array.
HTML
-
Check if an array is not sorted in descending order.
HTML
-
Implement binary search on a sorted array.
HTML
-
Find maximum element in 2D array.
HTML
-
Transpose a Matrix.
HTML
-
Rotate a Matrix by 90 degrees.
HTML
-
Flatten a 2D array into a 1D array.
HTML
-
Find saddle point in a matrix.
HTML
-
Implement matrix multiplication.
HTML