Coder Social home page Coder Social logo

course.2020.ntnu.algorithms's Introduction

Algorithms Spring 2020 Homework

Overview

This repository contains all the (home)works done in the "Computer Algorithms" course offered at National Taiwan Normal University (NTNU) by Professor Mei-Chen Yeh (葉梅珍教授) in Spring 2020. Each piece of homework consists of a handwritten problem set which usually includes three problems (sometimes two), and two programming problems, pA and pB.

Course (and therefore Homework) Coverage

We used Cormen's Introduction to Algorithms (3rd ed.) as the principal learning material. We went through the following contents:

  1. Asymptotic notation; Recurrences
  2. Randomized algorithms; Divide-and-Conquer
  3. Sorting: Heapsort, quicksort, linear sorting
  4. Hashing and binary search
  5. Dynamic programming
  6. Greedy algorithms
  7. Graph algorithms
  8. Shortest paths
  9. Maximum flow
  10. NP-completeness
  11. Approximate algorithms

The following section describes each homework's main topic and provides the link to the corresponding homework set (in PDF).

Homework Brief Description

  • Homework 1: Asymptotic notation, complexity analysis, master theorem, recurrences (handwritten: Fibonacci, pA), divide-and-conquer (pA), two pointers (pB).
  • Homework 2: Sorting: quicksort (handwritten), bubblesort properties (handwritten, pA), mergesort(pB).
  • Homework 3: Dynamic Programming: knapsack problem (handwritten), games of stone (handwritten, pA), longest subsequence (pB), 2-dimensional dynamic programming (handwritten: bento, watermelon)
  • Homework 4: Greedy Method (handwritten: square, lexicographical order, arithmetic, pA, pB), Graph: BFS, DFS (pA)
  • Homework 5: Graph: maximum-spanning-tree (MST) (handwritten: turnip, pA), directed-acyclic-graph (DAG) (handwritten: lexicographical order), strongly-connected-component (SCC) (handwritten), flood-fill (pB)
  • Homework 6: Graph: shortest-path algorithms (handwritten): Bellman-Ford, Dijkstra (pB), Floyd-Warshall (pA), Prim's
  • Homework 7: Graph: Maximum flow: Ford-Fulkerson-Method

course.2020.ntnu.algorithms's People

Contributors

c5h11oh avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.