Topic: Greedy Algorithm Problem / Level: intermediate

Problem: You are given a list of trains with their arrival and departure times. Find the minimum number of platforms required at the station to accommodate all the trains.

Run the code to see the output here...