Find file
Fetching contributors…
Cannot retrieve contributors at this time
6 lines (4 sloc) 217 Bytes

Some simple Ruby problems asked of me in an interview

  • Print each odd number from zero to n without using .odd
  • Return the maximum value of an array without using .max
  • Create an n by n multiplication table