Exercises for the 6th Semester Programming Languages I course of Electrical and Computer Engineering school | National Technical University of Athens | Academic year 2023-2024.
This repository contains implementations of four algorithmic problems in multiple programming languages including SWI Prolog, Standard ML of New Jersey, C, Python and Java.
1. BackToAthens
Grid pathfinding problem - Find a path through a grid where you can only move to cells with smaller values.
2. FairSeq
Sequence partitioning problem - Determine if a sequence can be split into two equal-sum subsequences.
3. MinBases
Number theory problem - Find the minimum base needed to represent a number using only one digit.
4. WorldTree
Binary tree arrangement problem - Rearrange a binary tree to achieve minimum lexicographical sequence in inorder traversal.
- SWI-Prolog - Logic programming language
- SML/NJ - Functional programming language
- C - Low-level imperative programming language
- Python - High-level scripting language
- Java - Object-oriented programming language