Getting Runtime error please explain !!
@mb129162 You have to make freq arr of size largest+1, to accommodate all numbers.