So, yesterday I learned about the quicksort algorithm in JAVA. I watched a couple of youtube videos and then understood the concept of how it works. Later this morning, I tried writing its code in JAVA. Everything looked fine but after I executed that code, it showed me ArrayIndexOutOFBoundException as shown in the picture below:
I am here to seek help from the JAVA experts out there in this community. Here is the link to the code.