Open rbucinell opened 6 years ago
Good morning! Here's your coding interview problem for today.
This problem was asked by Snapchat.
Given an array of time intervals (start, end) for classroom lectures (possibly overlapping), find the minimum number of rooms required.
For example, given [(30, 75), (0, 50), (60, 150)], you should return 2.
Upgrade to premium [http://links.dailycodingproblem.com/wf/click?upn=-2F03iMydR750DKx07F4BRwWErdzWeRmfVcT48gFYejU-2Bz6QcOxyCKetP6lYnXnpQi4KDQjG5YX4vCNlX3sdbfos06VT5YoRFkg4TrA1RVZWv0DZHacVnT6CRVrZdYdIbA_iscjqzEYz8RolbSgMQLtCXgsn2DW3ZG-2FJEHwGBaE-2FdWmJVnj-2FZ3AdNWwvaRPOsW1JsDqvovK4aONIr2ZT34sIC0IhVdwLOBQ7jSqnkqu2ZcqNLjf-2Byz7kOSv3nHNMUhZM8Yvu-2FTRnHC4QH3oCPEwTQSmzdApNsEIG2K4gzCnzQKBZHTOEffnKd15zaHw4YUfzB6w3mGh8mmNEyOEQ7Xe4lLfJl8R7jLMo2fYqXZtGHM-3D] and get in-depth solutions to every problem.
If you liked this problem, feel free to forward it along! As always, shoot us an email if there's anything we can help with!
No more? Unsubscribe [http://links.dailycodingproblem.com/wf/click?upn=-2F03iMydR750DKx07F4BRwTq4x5HkPwxRhpDWfk1b7nXvgvDhSC78LLls-2Bvqs1KQvHGZzlxUHjTKmlyywaw1SP8zvxacCSMPWWHMDKM6wdS5Jl1I3MW0lfGAMY6ZLmyd0PQd5Ii-2F27lf3r61PXBXKc4STUNjbJNoKX2Dov-2Fr9Cag7e39ot-2F6XWTzq2lck7ESA_iscjqzEYz8RolbSgMQLtCXgsn2DW3ZG-2FJEHwGBaE-2FdWmJVnj-2FZ3AdNWwvaRPOsW1JsDqvovK4aONIr2ZT34sIB12GNGQSNz4eUXkseWc41z5ETUYPwIR9bbeuqtx7IuAfh7zm5BGRi5xDurMa3t-2FR0i-2BB9Tma-2B50Q2t3lrtgb8kmPFknnCdwXpgYionaiQw5Dw8xUMFbE2IQez9M-2BGwz8cuX4HAd3HAOXTHL9FL2fAE-3D] .
Good morning! Here's your coding interview problem for today.
This problem was asked by Snapchat.
Given an array of time intervals (start, end) for classroom lectures (possibly overlapping), find the minimum number of rooms required.
For example, given [(30, 75), (0, 50), (60, 150)], you should return 2.
Upgrade to premium [http://links.dailycodingproblem.com/wf/click?upn=-2F03iMydR750DKx07F4BRwWErdzWeRmfVcT48gFYejU-2Bz6QcOxyCKetP6lYnXnpQi4KDQjG5YX4vCNlX3sdbfos06VT5YoRFkg4TrA1RVZWv0DZHacVnT6CRVrZdYdIbA_iscjqzEYz8RolbSgMQLtCXgsn2DW3ZG-2FJEHwGBaE-2FdWmJVnj-2FZ3AdNWwvaRPOsW1JsDqvovK4aONIr2ZT34sIC0IhVdwLOBQ7jSqnkqu2ZcqNLjf-2Byz7kOSv3nHNMUhZM8Yvu-2FTRnHC4QH3oCPEwTQSmzdApNsEIG2K4gzCnzQKBZHTOEffnKd15zaHw4YUfzB6w3mGh8mmNEyOEQ7Xe4lLfJl8R7jLMo2fYqXZtGHM-3D] and get in-depth solutions to every problem.
If you liked this problem, feel free to forward it along! As always, shoot us an email if there's anything we can help with!
No more? Unsubscribe [http://links.dailycodingproblem.com/wf/click?upn=-2F03iMydR750DKx07F4BRwTq4x5HkPwxRhpDWfk1b7nXvgvDhSC78LLls-2Bvqs1KQvHGZzlxUHjTKmlyywaw1SP8zvxacCSMPWWHMDKM6wdS5Jl1I3MW0lfGAMY6ZLmyd0PQd5Ii-2F27lf3r61PXBXKc4STUNjbJNoKX2Dov-2Fr9Cag7e39ot-2F6XWTzq2lck7ESA_iscjqzEYz8RolbSgMQLtCXgsn2DW3ZG-2FJEHwGBaE-2FdWmJVnj-2FZ3AdNWwvaRPOsW1JsDqvovK4aONIr2ZT34sIB12GNGQSNz4eUXkseWc41z5ETUYPwIR9bbeuqtx7IuAfh7zm5BGRi5xDurMa3t-2FR0i-2BB9Tma-2B50Q2t3lrtgb8kmPFknnCdwXpgYionaiQw5Dw8xUMFbE2IQez9M-2BGwz8cuX4HAd3HAOXTHL9FL2fAE-3D] .