Challenge Active
The Weekly Challenge
You don't have to be an expert
Task #1
Hamiltonian Cycle
You are given a target number. Write a script to arrange all the whole numbers from 1 up to the given target number into a circle so that every pair of side-by-side numbers adds up to a perfect square. Please make sure, the last number and the first must also add up to a square.
Task #2
Replace Question Mark
You are given a string that contains only ‘0’, ‘1’ and ‘?’ characters. Write a script to generate all possible combinations when replacing the question marks with a zero or one.
SO WHAT DO YOU THINK ?
If you have any suggestions or ideas then please do share with us.
Contact with me