AlgoMaster Logo

Maximum Length of Pair Chain

pairs=[[-10,-8],[8,9],[-5,0],[6,10],[-6,-4],[1,7],[9,10],[-4,7]]
0 / 57
algomaster.io
Step:8 pairs. A chain needs each pair to start after the previous one ends.