DEV Community

Discussion on: A basis for a coding interview using "FizzBuzz" only⁉- 8 challenges for beginners AND Pros [with a twist for Pros! 😱]

Collapse
 
nmalyschkin profile image
Nikita Malyschkin • Edited

Wow, great challenge! This inspired me to make a small extra challenge:

Classic fizzbuzz, but:

  • "use strict"
  • no eval or such (obviously)
  • does not expose signature to user (e.g. when using recursion)
  • no let/var
  • no modulo operator (%) and no Math Object
  • no loops
  • can run beyond ~30.000
  • no if/else
  • no const
  • no compare operations (==, ===, !=, !==)
  • no return statements
  • no curly brackets {} 😈

It's solvable, have fun :D

Collapse
 
grahamthedev profile image
GrahamTheDev • Edited

That sounds horrific! If I get chance I will see if I can put a solution together but as the England vs Italy match is on at the moment it will have to wait! πŸ˜‹