Basic Java Programs is a structured collection of beginner-friendly Java programs designed to strengthen core programming fundamentals and build a solid foundation in Data Structures and Algorithms.
This repository focuses on array-based problems, basic logic building, and essential Java concepts commonly asked in coding interviews and contests.
-
Responsive & Clean Code Structure: Simple and readable Java implementations.
-
Beginner Friendly: Easy-to-understand logic for foundational learning.
-
Core Concept Focused: Covers important array and fundamental Java problems.
-
Contest Preparation Ready: Helps build logic for platforms like LeetCode and CodeChef.
-
Organized Source Code: Well-structured folder hierarchy.
- Language: Java
- IDE: IntelliJ IDEA
- Version Control: Git & GitHub
- Primitive Data Types
- Type Conversion & Casting
- Input Handling
- Basic Program Structure
- Maximum Element in Array
- Largest and Second Largest Element
- Check if Array is Sorted
- Search Element in Array
- Sum of Two Numbers
- Running Comparison
- Difficulty Rating Order
- Minimum to Maximum Comparison
To run this project locally:
Clone the repository:
git clone https://github.com/vaishnavi-parodkar/Basic-Java-Programs.gitNavigate into the project directory:
cd Basic-Java-ProgramsOpen the project in IntelliJ IDEA (or any Java IDE).
Run any Java file from the src folder.
Basic-Java-Programs/
├── src/
│ ├── ArraySortedOrNot.java
│ ├── LargestElementInArray.java
│ ├── LargestAndSecondLargest.java
│ ├── MaximumInArray.java
│ ├── SearchElement.java
│ ├── RunningComparison.java
│ └── ...
├── README.md
└── .gitignore
This repository was created to:
- Strengthen Java fundamentals
- Improve logical thinking
- Practice basic Data Structures concepts
- Prepare for coding contests and technical interviews
- Maintain consistency in problem-solving
- Add sorting algorithm implementations
- Include time and space complexity analysis
- Categorize problems by difficulty level
- Add more DSA-based questions
For any suggestions or collaboration opportunities:
Email: vaishnaviparodkar@gmail.com
GitHub: https://github.com/vaishnavi-parodkar
⭐ If you find this repository helpful, consider giving it a star.