Coding Kata – February 2nd 2010 – Bite Sized Katas

2.02.2010 | Uncategorized

In a slightly different vein, here are some smaller brainteasers for you to try!

  • Create an algorithm which divides any two numbers of different bases together.
    Does your algorithm work with negative numbers?
    How about negative bases?
  • How would you find a cycle in a linked list?
    Can you do it iteratively?
  • Multiply a number by 7 without using the multiplication operator.
    Can it be done without addition?

Comments