Skip to content

rashadkhan97/JAVA-Problem-Solving

Repository files navigation

Java Problem Solving

Content

Introduction

This project is a compilation of Java assignments aimed at practicing and improving problem-solving, algorithm design, and foundational programming skills. Each assignment highlights a specific area of programming, including searching, sorting, string manipulation, and logical operations, offering practical experience with Java fundamentals.

The tasks are thoughtfully designed to challenge beginner and intermediate-level programmers, equipping them with the skills needed for real-world problem-solving situations.

Prerequisites

Before running the assignments, ensure the following tools are installed on your system:

Problem Solving Highlights

This project features solutions to various Java programming assignments, covering a wide range of topics:

  • Search and Sorting Algorithms: Identify the 2nd highest CGPA, implement binary search, and perform manual sorting.
  • Random Number Operations: Generate random numbers and determine minimum/maximum values.
  • Pattern Printing: Programmatically create complex output patterns.
  • String Manipulations: Count words, characters, vowels, and consonants; remove vowels from strings.
  • Custom Algorithms: Break down currency notes, validate IP addresses, and verify binary strings.
  • HTML Parsing: Extract transaction IDs using string operations.
  • Password Generation: Generate secure passwords following custom rules.
  • Mathematical Operations: Solve logical problems such as distributing question marks and calculating discounts.

All solutions are implemented programmatically without built-in shortcuts (e.g., Arrays.sort()), fostering a deeper understanding of core algorithms and problem-solving techniques.

How to run the project

  • clone this project
       https://github.com/rashadkhan97/JAVA-Problem-Solving.git

Open in an IDE:

  1. Open the project folder in any Java IDE, such as:

Run the Assignments:

  1. Each assignment is saved as a separate .java file.
  2. Navigate to the file you want to test.
  3. To execute the program, Click the Run button in your IDE.

Report File

For a detailed understanding of the questions, code, and output, refer to the report file linked below:

**Click the Link to View File Report**

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages