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.
- Host: GitHub
- URL: https://github.com/dor-sketch/javabasics
- Owner: Dor-sketch
- Created: 2023-10-09T14:43:31.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-11-19T12:48:38.000Z (over 1 year ago)
- Last Synced: 2025-01-22T10:23:03.718Z (5 months ago)
- Topics: bluej, freshman-year, introduction-to-computer-science, java, matrix, random, recursion
- Language: Java
- Homepage: https://www.bluej.org/
- Size: 10.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.

---
## 🏆 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