This repository contains my college assignments for the subject of Analysis and Design of Algorithms (ADA) in the 6th semester of my 3rd year. Collection of programming assignments that I completed as part of the ADA course are contained in this repository. These assignments cover a range of topics, including flowcharts, algorithm design paradigms, complexity analysis, and more. Each assignment comes with a detailed problem statement and my implementation of the solution.
Programming Exercises:
Programming Exercises:
1. Implement a recursive algorithm for computing the factorial of a given positive integer using divide-and-conquer.
3. Implement a recursive algorithm for computing the greatest common divisor of two integers using divide-and-conquer.
4. Implement a recursive algorithm for computing the Euclidean distance between two points in 2D space using divide-and-conquer.
5. Implement a divide-and-conquer algorithm for finding the maximum subarray sum of a given array of integers.
7. Implement a divide-and-conquer algorithm for finding the kth largest element in an unsorted array of integers.
Programming Exercises: