|
|
|
|
|
by MrLeap
3339 days ago
|
|
A little tougher than fizz-buzz. I'd hope that people who take 6 minutes on fizz-buzz aren't calling themselves good and experienced. Am I taking crazy pills? Here's basically what they asked me to do: #1) Write a function that accepts one parameter. An array of numbers. Convert those numbers to pseudo-binary strings. Instead of "0" use "Y" and instead of "1" use "X" #2) Do the reverse, Write a function that accepts an array of pseudo binary and convert it to an array of numbers. |
|
Anyways, thanks for answering!