---
# System prepended metadata

title: Kodacamp Exercises

---

# Kodacamp Exercises

Create a new folder `ruby-execises`

* exercise_1.rb https://leetcode.com/problems/length-of-last-word
* exercise_2.rb https://leetcode.com/problems/plus-one/
* exercise_3.rb https://leetcode.com/problems/longest-common-prefix/
* exercise_4.rb https://leetcode.com/problems/single-number/
* exercise_5.rb https://leetcode.com/problems/majority-element/
* exercise_6.rb https://leetcode.com/problems/remove-duplicates-from-sorted-array/
* exercise_7.rb https://leetcode.com/problems/climbing-stairs/
* exercise_8.rb https://leetcode.com/problems/search-insert-position/
* exercise_9.rb https://leetcode.com/problems/best-time-to-buy-and-sell-stock/
* exercise_10.rb https://leetcode.com/problems/contains-duplicate/
* exercise_11.rb https://leetcode.com/problems/power-of-two/
* exercise_12.rb https://leetcode.com/problems/valid-anagram/
* exercise_13.rb https://leetcode.com/problems/ugly-number/
* exercise_14.rb https://leetcode.com/problems/move-zeroes/
* exercise_15.rb https://leetcode.com/problems/nim-game/
* exercise_16.rb https://leetcode.com/problems/house-robber/

