Https://ide.codingblocks.com/s/458457

My code shows run error in case one, sorting in linear time

hey increase size of array rest logic is looking good.