>>11813759This
>>11813770Sorta. When we write it in big O notation I would just do
But she was having us count the exact number of comparisons. ie for a random data set provided to us, she wanted us to write something like 2,175 comparisons (just an example off the top of my head), not
These were the answers she was looking for (given an array of 100 elements).
>>11813750She wanted us to calculate the exact number of comparisons, not simply Big O notation, retarded cunt.