An open API service indexing awesome lists of open source software.

https://github.com/dor-sketch/javabasics

Demonstrating basic Java capabilities and OOP principles.
https://github.com/dor-sketch/javabasics

bluej freshman-year introduction-to-computer-science java matrix random recursion

Last synced: 4 months ago
JSON representation

Demonstrating basic Java capabilities and OOP principles.

Awesome Lists containing this project

README

        

# 📚 Java Introductory Algorithms (Ex14)

## 📌 Overview

This repository contains a collection of basic algorithms written in Java, primarily derived from the coursework of the "20441 Introduction to Computer Science" class that I studied at the Open University of Israel in 2019b. I primarily work in C, C++, and Python, but this project is a testament to my foundational skills in Java.

![image](https://github.com/Dor-sketch/IntroToCS_mmn14/assets/138825033/a3c6642a-d6f0-48f8-84e3-471a41a4d334)

---

## 🏆 Achievements

- Successfully completed the course with a grade of 90.

## 📋 Algorithms Covered

1. **💧 Water Volume Calculation**: Determines the trapped water volume between barriers based on their heights.
2. **📈 Longest Subsequence**: Finds the longest subsequence with an even sum in an array.
3. **🧮 Solution Finder**: Computes how many ways three numbers (between 1 and 10) can sum up to a given number.
4. **🗺️ Path Sum in Matrix**: Determines if a path exists in a matrix that sums up to a given number.

## 🌟 Features

- Utilizes both iterative and recursive approaches.
- Employs a wide range of data structures like arrays and matrices.
- Offers an interactive testing suite for the "Path Sum in Matrix" algorithm.

## 🚀 Getting Started

Clone the repository and compile `Ex14.java`:

```java
javac Ex14.java
```

Run the program:

```java
java Ex14
```

Follow the prompts to interact with the algorithms.

## 📜 License

MIT