What are some fun programming competition questions
When i was in
university, i helped organize a programming competition for computer science
students.I believe we had 4 questions in total and allowed an hour for each
one.
The best received question was:
Sort a series of integers
such http://www.gccc.ca/ that the order goes from
Lowest-Highest-Lowest.Eg.If given 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, the correct
sort should result in 1, 3, 5, 7, 9, 10, 8, 6, 4, 2.The winner will be the team
that has the smallest source code.
The winning team for Cheap Pandora
Canada this one used perl and their code was just a long, ugly string of
one-Line code with no spaces.
Another question i remember Cheap Pandora
Canada was:
Without using 3rd party libraries, implement a
compression algorithm.The winner will be the team that is able to compress and
decompress without any data loss and whose compressed file is the smallest
size.
Unfortunately this turned out to be a poor question.No team even
was able to get it working even after giving Pandora Charms Canada them extra time.I think
everyone was thinking too big and trying to do things that could not be done in
an hour.
Related Articles:
Linked Articles
http://nichaelullin.qsite.dk/137684/Blog
http://nichaelullin.moy.su/blog/cheap_pandora_bracelets_canada_classical_is_the_most_features/2015-01-15-10
http://nalphdwinrri.freeblog.biz/2015/01/15/ralph-lauren-outlet-se-terrazzino-seconda-stanza-da
http://nichaelullin.inube.com/blog/4200029/cheap-pandora-sale-from-an-indian-selling
http://www.freewebsite-service.com/cteverevin/Blog.php?id=398157&snavn=Ralph+Lauren+Kids+june+baguettemania+started+its
No comments:
Post a Comment