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 to accommodate all the trains at the station.

Run the code to see the output here...