Skip to content

Attempts to learn basic data structures and algorithms in Computer Science

Notifications You must be signed in to change notification settings

kidambisrinivas/algorithms

Folders and files

NameName
Last commit message
Last commit date

Latest commit

c4f3252 Β· May 20, 2019

History

5 Commits
Apr 18, 2019
May 14, 2019
Apr 19, 2019
Apr 19, 2019
Apr 19, 2019
Apr 19, 2019
Apr 19, 2019
Apr 18, 2019
May 20, 2019
Apr 18, 2019

Repository files navigation

Algorithms

This repo has my attempts at different contest problems in an attempt to learn foundational data structures and algorithms in Computer Science.

It is structured by data structures and algorithms at the top level, then a canonical implementation of each data structure for contests [Needs more plumbing/software engineering for resilience before using it directly in software applications] and a few sample problems from online ICPC style problem sites [hackerearth, UVA, SPOJ] for each of them.

Data Structures

Algorithms

Recursion

  • Divide and Conquer
  • Backtracking
  • Binary Search Trees [AVL, Red black trees]

Dynamic Programming

  • Maximum Value Contiguous Subsequence
  • Making Change
  • Longest Increasing Subsequence
  • Box Stacking
  • Building Bridges
  • Integer Knapsack Problem
  • Balanced Partition
  • Edit Distance
  • Counting Boolean Parenthesizations
  • Optimal Strategy for a Game

Graphs

  • Basics + Implementation [Adjacently List, Edge List, etc.]
  • BFS + DFS + Floodfill
  • Dijkstra + Bellman Ford (A* star)
  • Strongly Connected Components
  • Topological Sorting
  • Minimum Spanning Trees - Prim + Kruskal

About

Attempts to learn basic data structures and algorithms in Computer Science

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages