Skip to content

Exercise Ideas

Thomas Shipley edited this page Mar 29, 2017 · 4 revisions

Introduction

This page is for exercise ideas that the site can have on it. The exercises are sorted by broad topics. Some exercises could be in multiple categories - for these, I have recorded once but can add to the system in the multiple.

Logic

  • return the reverse of the integer parameter as a string (contri: @bretcolloff)
  • Given a String of "a4b2c2a3f1g2" the output should be "aaaabbccaaafgg". Given the number of each char in the string is the occurrence of that character in the outputted string.

Branches and Loops

  • Sum Fibonacci numbers below 100 (contri: @bretcolloff)

Bit Logic

  • Multiply two numbers together without * operator (contri: @bretcolloff)
  • This would need changes to Coding Monkey to support. Banned operators per exercise setting and fuzz testing of inputs.

Math

  • re-implement the math.pow function (contri : @bretcolloff)
  • This would need changes to Coding Monkey to support. Banning method per exercise setting and fuzz testing of inputs.

Encryption

  • Implement a caesar cypher using the provided shift integer and input string (contri: @bretcolloff)
Clone this wiki locally