>enroll in community college CS course
>get first assignment
>question 1: bubble sort all primes over 2 million
why did you never tell me how hard college is /g/
why
>>59717722
Will not halt
>over
well, that's going to take a while
>>59717722
>Over two million
Lol. Your professor Dr evil or something.
You should be able to do that within an hour, really basic.
Although why are you sorting numbers you generate procedurally? The numbers are already in order, unless they add complexity like order the numbers as if they were alphabetical.
Silly OP.
Why would anybody ask such a silly question? Real questions are "implement bubblesort". If you implement it, then asking you to run it on a list of prime numbers is trivial and nobody would actually ask you to do it.
Which means that you made that shit up.
Also bubble sort is easy.
>>59717722
>sort a sorted vector
colledge is literally impossible
>tfw even the captcha is impossible
fucking germans
>>59717722
>>question 1: bubble sort all primes over 2 million
Welcome to CS, enjoy your stay
>>59718447
it will take a couple seconds to run
>>59717722
That's easy.
As soon as you got the primes bubble sort will be finished in O(n), because you wouldn't find the primes in random order.
>>59718736
>get a load of this guy
over two million
Over two million
OVER two million
O...V...E...R two million
>>59717722
>forcing memes
yeah atleast we're not reddit, right guys?
>>59719440
But a lot of people who browse 4chan also browse reddit. That's no secret, bruh.