Some simple ruby exercises asked in an interview
Ruby
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README.md
ruby_math.rb

README.md

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