Giter VIP home page Giter VIP logo

whiteboard's Introduction

whiteboard

Milestone 1 - COMPLETE

This is a repository of implementations for whiteboard questions that I've gotten during interviews.

So far, the goal is to account for the following interview questions:

  • Shortest path on an undirected graph. - COMPLETE
  • HashMap implementation. - COMPLETE
  • Linked hash map (hash table that allows iteration over its keys in the order in which they were inserted). - COMPLETE
  • Cartesian product of strings. - COMPLETE
  • Postfix to infix arithmetic conversion. - COMPLETE
  • Merge two sorted arrays of integers. - COMPLETE
  • Reversal of a linked list. - COMPLETE
  • Circularly linked list of parameterized type with support for null entries. - COMPLETE

Milestone 2 - COMPLETE

In addition, I want to knock out some implementations of some basic data structure and algorithm problems, just to brush up.

  • Dynamic array (ArrayList). - COMPLETE
  • Doubly Linked List (LinkedList). - COMPLETE
  • Stack (ArrayDeque). - COMPLETE
  • Queue (ArrayDeque). - COMPLETE
  • Tree. - COMPLETE
  • Directed acyclic graph. - COMPLETE
  • Heap. - COMPLETE

Most of the above structures will be implemented in something very much like the corresponding Java interfaces. I will be implementing against the interfaces as specified (abridged), but I will be deriving the implementations myself for practice.

The following algorithms will then be implemented, atop the above structures where necessary:

  • Binary search through a list. - COMPLETE
  • Dynamic programming (http://codercareer.blogspot.com/p/dynamic-interview-questions.html). - COMPLETE
  • Preorder and postorder traversal of a tree. - COMPLETE
  • Topological sorting of a directed, acyclic graph. - COMPLETE
  • Union-find (disjoint set). - COMPLETE
  • Bloom filter. - COMPLETE
  • Quicksort. - COMPLETE

Milestone 3

  • Graph coloring. - COMPLETE
  • LRU cache. - COMPLETE
  • Chess move validator. - COMPLETE
  • Maybe something involving Spring, since that has come up a couple times.

Milestone 4

  • Something involving hashing function distribution, vis a vis numeric analysis.

whiteboard's People

Contributors

fuerve avatar

Stargazers

Kolya Yanchiy avatar André Laszlo avatar

Watchers

James Cloos avatar  avatar

Forkers

satyrswang

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.