[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

>enroll in community college CS course >get first assignment

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 13
Thread images: 4

File: 1483358376688.jpg (68KB, 633x758px) Image search: [Google]
1483358376688.jpg
68KB, 633x758px
>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.
>>
File: Screenshot_2017-04-03-17-56-57.png (267KB, 1080x1920px) Image search: [Google]
Screenshot_2017-04-03-17-56-57.png
267KB, 1080x1920px
>>59717722
>sort a sorted vector
colledge is literally impossible

>tfw even the captcha is impossible
fucking germans
>>
File: Burn Happy Burn.jpg (57KB, 500x501px) Image search: [Google]
Burn Happy Burn.jpg
57KB, 500x501px
>>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
>>
File: my_love.jpg (321KB, 1971x1971px) Image search: [Google]
my_love.jpg
321KB, 1971x1971px
>>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.
Thread posts: 13
Thread images: 4


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
All trademarks and copyrights on this page are owned by their respective parties.
Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.