Please explain this line i coulnt get the ques

Chudael predicted that a bridge can only be built between corresponding end points, i.e. a bridge starting from the ith end point on one side can only end on the ith end point on the other side, where the position of end points is seen in the order in which the points were identified.

@chemant077
Just take input array A and B
Then make sure Ai < Bi

After that it is same as https://www.geeksforgeeks.org/maximal-disjoint-intervals/

https://ide.codingblocks.com/s/199353 showing wrong answer

@chemant077
You didn’t swap Ai and Bi as I told you
You need to ensure Ai < Bi for this code to work

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.