Skip to content

Instantly share code, notes, and snippets.

View Den4200's full-sized avatar
🎸
chillin' out

Dennis Pham Den4200

🎸
chillin' out
View GitHub Profile

Keybase proof

I hereby claim:

  • I am den4200 on github.
  • I am den4200 (https://keybase.io/den4200) on keybase.
  • I have a public key ASCZ7dfkqRbW45A-mCBro-D1AeGfwZvFibWbVP6bvR3A5wo

To claim this, I am signing this object:

@Den4200
Den4200 / calender_problem.md
Created May 27, 2020 01:59
An example interview question.

Find free times

Create an algorithm that takes two people's calenders and finds free slots of time during which these two people can have a meeting.

There will also be daily bounds for each person. Meetings cannot be scheduled outside these bounds.

Sample Input (JSON)