Free Republic
Browse · Search
General/Chat
Topics · Post Article

To: Lazamataz

> reverse an array of 100 numbers.

You gave them an O(n) solution. Not a comp sci major on the whole other side of the table. You’d spend the majority of your time there trying to explain to them why their solutions were so non performant.


50 posted on 02/09/2022 3:14:21 PM PST by glorgau
[ Post Reply | Private Reply | To 10 | View Replies ]


To: glorgau

Hell, I didn’t even remember what an O(n) solution was, from my Comp Sci days.

I just went to the simplest solution my gut told me would work. :^)


62 posted on 02/09/2022 5:18:43 PM PST by Lazamataz (The forces of fascism and oppression are on the move in North America. We cannot let tyranny stand!)
[ Post Reply | Private Reply | To 50 | View Replies ]

Free Republic
Browse · Search
General/Chat
Topics · Post Article


FreeRepublic, LLC, PO BOX 9771, FRESNO, CA 93794
FreeRepublic.com is powered by software copyright 2000-2008 John Robinson