Problem in code

my code is getting segmentation fault and i can’t identify why.

I have edited your code…Try to submit now…


Also, I have used a shuffle function for randomized quick sort