Can anyone help me with suffix arrays implementation?
https://ideone.com/GN888y I did this by reading the codechef tutorial. https://discuss.codechef.com/questions/21385/a-tutorial-on-suffix-arrays
This problem gives the wrong answer for my code. http://www.spoj.com/problems/DISUBSTR/