← ChallengeHack.com

Coding · Facts & stats

Challenge Hack facts & stats

7 fact-checked facts about hackathons and coding challenges, each with the reason behind it. 5 more are in today's round and join this page after it closes.

Play today's round

The basics

The word hackathon combines hack with which other word?

AnswerMarathon

Hackathon blends hack and marathon, reflecting long, focused building sessions.

What is an algorithm?

AnswerA step-by-step procedure for solving a problem

An algorithm is a finite set of clear steps that solves a problem or completes a task.

Going deeper

What is the time complexity of binary search on a sorted list?

AnswerO(log n)

Binary search halves the search range each step, giving logarithmic time.

In 1947, what was found in the Harvard Mark II computer and taped into its logbook as a "bug"?

AnswerA moth

Operators logged the moth as the "first actual case of bug being found."

Which data structure follows Last In, First Out order?

AnswerA stack

In a stack, the last item added is the first removed, like a pile of plates.

Expert level

What is the minimum number of moves to solve the Tower of Hanoi with 3 disks?

Answer7

The minimum is 2 to the power of n minus 1; for 3 disks that is 7.

What is the worst-case time complexity of bubble sort?

AnswerO(n squared)

Bubble sort may compare every pair of items, taking quadratic time in the worst case.

Know these cold?Today's round is five questions like these, 20 seconds each. Your streak and level follow you to every arena.Play today's round