Randomiszed QuickSort

Using Random function there can be possibility also that the same number can occur twice. and our array gets filled with default values ??

hello @ashwani225
yeah it is possible that same index can occur more than one times but this will not create any issue . becuase on each iteration we will be successfully placing one element to its correct position.