https://www.geeksforgeeks.org/given-n-appointments-find-conflicting-appointments/