Having run-error in 1 testcase

https://ide.codingblocks.com/s/55547
Question is sorting in linear time where we have to sort an array of only 0s 1s and 2s

what is the error???

Hi Vishesh, just increase the size of arr from [10000] to [1000000] at line number 5.