Jarvis Products Corp. interview question

Bubble sort time complexity, SQL index, etc