Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

IamShubhamGupto/Advanced-Algorithms

Repository files navigation

Advanced-Algorithms

Implementations of most algorithms learnt in the course UE18CS311 by PES University.

Assignments

Assignment 1

  • Implement Dynamic table with and without struct hacking - Q1 - A / B
  • Implement Splay Trees - Q2

Assignment 2

  • Find longest common prefix in 2 strings using minimum R rotations - Q1
  • Find longest common prefix in 2 substrings of a string using Rabin Karp and Binary Search method. link to a similar question - Q2

Assignment 3

  • K Factor: Find number of strings of length N with K occurences of "abba" - Q1
  • Find Edit distance with Insert + Delete using LCS algorithm - Q2A
  • Find Edit distance with Insert + Delete + Subtitution - Q2B
  • Find Edit distance with Weighted Insert + Weighted Delete + Weighted Subtitution - Q2C

Assignment 4

  • Polynomial multiplication using FFT algorithm - Q1
  • Solving linear equations using Chinese Remainder Theorem - Q2

Chapter - 1 Basics_Of_Complexity

  • Dynamic Table - A1 - Q1
  • Splay Trees - A1 - Q2

Chapter - 2 String_Comparisons

  • Naive String Algorithm
  • Modified Naive String Algorithm
  • Rabin-Karp Algorithm
  • Knuth-Morris-Pratt Algorithm
  • Finite Automata String matching algorithm

Chapter - 3 Max Flow, Polynomials and FFT

  • Recursive FFT for polynomial multiplication - A4 - Q1
  • Ford Fulkerson/ Edmond Karp Algorithm
  • Maximum bipartite matching

Chapter - 4 Number Theory

  • Chinese Remainder Theorem - A4 - Q2
  • Euclids Extended Algorithm - A4 - Q2

Chapter - 5 Dynamic_Programming

  • Coin Row Problem
  • Rod Cutting Problem
  • Matrix Chain Multiplication
  • Longest Common Subsequence

ToDo

  • (削除) [C2] FSM (削除ここまで)
  • (削除) [C2] Suffix Tree (削除ここまで)
  • (削除) Assignment 1 (削除ここまで)
  • (削除) Assignment 2 (削除ここまで)
  • (削除) [C5] Rod Cutting problem (削除ここまで)
  • (削除) [C5] Matrix Chain multiplication (削除ここまで)
  • (削除) [C5] Longest Common Subsequence (削除ここまで)
  • (削除) [C3] Ford Fulkerson Algorithm (削除ここまで)
  • (削除) [C3] Fast Fourier Transform Algorithm (done in A4) (削除ここまで)
  • [C4] Euclids Algorithm
  • (削除) [C4] Euclids Extended algorithm (削除ここまで)
  • [C4] RSA encryption

AltStyle によって変換されたページ (->オリジナル) /