Number Puzzles - 019
Borrowing the idea from Pascal Triangle, the following operation can be performed. Starting with an array of numbers from 1 to N...
Number Puzzles - 004
Give an example of three distinct numbers greater than 10 whose both product and sum are palindromes. The answer is not unique a...
3 years ago
Solved
Number Puzzles - 003
Find six non-zero integers a, b, c, d, e, and f which satisfy the following equations:
All six integers must be different. Th...
Would Homer Like It?
Given a matrix of ones and zeros, you must determine if there are any doughnuts present (would Homer Simpson like it?). A doughn...
3 years ago
Solved
Counting votes
x is a vector of votes, e.g. x=[1 2 3 2 2 1 3 2 1 2 2 2 2], who is the winner? 1,2,3?
3 years ago
Solved
String math
You will be given a string that describes a simple math equation. Your job is to determine if the value of the equation is equal...