Skip to content

Demonstrating basic Java capabilities and OOP principles.

Notifications You must be signed in to change notification settings

Dor-sketch/JavaBasics

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

📚 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


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

javac Ex14.java

Run the program:

java Ex14

Follow the prompts to interact with the algorithms.

📜 License

MIT

Releases

No releases published

Packages

No packages published

Languages