I am getting error in activity selection problem
https://ide.codingblocks.com/s/47031
Getting Error in Activity Selection Problem
Hey Akash, there is no need to sort the arrays, otherwise your logic and code is correct. One more thing is you can optimize the solution by not taking any extra space.