Ok thanks! I think I got it.
Type: Posts; User: 3sbwya
Ok thanks! I think I got it.
Yeah the error message is:
Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 13
at qselect.QSelect.quickSelect(QSelect.java:91)
at qselect.QSelect.main(QSelect.java:33)
I'm work on the quickSelect algorithm to find the kth smallest integer however I keep getting the java.lang.ArrayIndexOutOfBoundsException error.
import java.io.*;
import...