Algorithm Final Course Project

Finding a route across a rainy city grid, for my algorithms course.

What I built

This was my final Algorithms and Data Structures assignment at the University of Bologna in 2022/2023. Given a city grid, the program finds a route around buildings while accounting for the shelter they provide from rain. I wrote it in C and had to keep it fast enough for the larger maps.

The Challenge

A pedestrian must navigate from (0,0) to (N-1, M-1) while:

Input & Output Format

Input

Output

Implementation Details

The solution requires efficient state management to track position and rain exposure simultaneously.

Keywords

Rain-aware shortest-path program screenshot 1
Rain-aware shortest-path program screenshot 1

Built with

Language: Pure C.
Focus: Algorithm optimization, memory management, graph traversal.

Source: GitHub