Puzzle

A Guessing Game

You are given 6¬†attempts to guess a number between 1-100. Each “attempt” can either be a number guess or a range the number could…

Read More

Sticks and Triangles

Suppose a stick breaks in two places (with a uniform distribution), what is the probability that the resulting pieces will form a triangle? Puzzle Source…

Read More

A Linux Rebus

The following linux command (with a # prompt) represents a line from a famous work of fiction. What is it? 

 Puzzle Source Thumbnail…

Read More
Deconstructing Triangles

Deconstructing Triangles

Given an equilateral triangle made up of any valid number of sub-equilateral triangles, describe a method to remove the minimal number of edges so…

Read More

3 Stacks

How would you implement 3 stacks from one array?If you would like, you can submit code as your response and the most elegant solution…

Read More

Divide By 3

Write a function to divide a given (integer) number by 3 without the use of the *, /, +, -, and % operators.If you…

Read More