Welcome to the DSA Java Practice Repository! This repository is dedicated to practicing Data Structures and Algorithms (DSA) in Java. Below, you will find an organized index of problems and questions implemented in this repository.
- Average of Array Elements
- Multiply each element of array by 10
- Liner Search an element in Array
- Find the maximum element in and Array
- Return sum of +ve and -ve numbers
- Count the number of Zeros and Ones
- Swap Alternate Elements in an Array
- Print Array Intersection Element
- Print Alternate Extreme Elements of an Array
- Reverse an Array
- Shift Array Elements By 1 Position
- Find mode of Array
- Find Highest and Lowest Frequency of an Array
- Mode of Array
- Sort an Array of 0s and 1s
- Missing Number
- Two Sum
- 3 Sum
- Find First Repeating Element
- Find Pivot Index
- Maximum Subarray: Kadane's Algorithm
- 2-D Array Sum of each row in a 2D array
- 2-D Array Sum of each column in a 2D array
- Wave Print Matrix (Snake Like)
- Sorting Algorithms
- Binary Search Implementation
- Upper bound and lower bound
- Clone the repository:
git clone <repository-url>
- Open the project in your favorite IDE (e.g., IntelliJ IDEA).
- Navigate to the
srcfolder to explore the solutions.
Feel free to contribute by adding new problems or improving existing solutions. Make sure to follow the existing folder structure and naming conventions.
This repository is for personal practice and learning purposes. No license is applied.