https://github.com/lucasmsa/timeblocks-problem
⏱ Trying to come up with my solution to the problem seen in this video: https://youtu.be/3Q_oYDQ2whs
https://github.com/lucasmsa/timeblocks-problem
algorithms ruby
Last synced: about 1 year ago
JSON representation
⏱ Trying to come up with my solution to the problem seen in this video: https://youtu.be/3Q_oYDQ2whs
- Host: GitHub
- URL: https://github.com/lucasmsa/timeblocks-problem
- Owner: lucasmsa
- Created: 2020-06-07T04:19:43.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-06-10T15:21:35.000Z (about 6 years ago)
- Last Synced: 2025-03-30T05:04:30.935Z (about 1 year ago)
- Topics: algorithms, ruby
- Language: Ruby
- Homepage:
- Size: 15.6 KB
- Stars: 5
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Time Blocks interview-like problem
Trying to come up with my solution to the problem seen in this video: https://youtu.be/3Q_oYDQ2whs
Also, trying Ruby 💎 for the first time
## Algorithm 👾
- Look at both sets of busy time
- Save every available time for both people
with the interview time
- Compare both available times and eliminate the ones that are
before the latest starting schedule and after the earliest
ending schedule