Skip to content

Latest commit

Β 

History

15 Commits

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 

Repository files navigation

RubyAlgorithms

I decided to write some algorithms in Ruby to gain experience πŸ˜ƒ.

Achievements

  • 2 Algorithms.
  • 4 Algorithms.
  • 8 Algorithms.

Completed Algorithms: 4


Hello World 🌱

My first algorithm in Ruby.
It takes the user input and shows that in this format:
"Hello World, #{text}."

Fibonacci's Odd Sum 🌿

Returns the sum of all odd Fibonacci numbers up to and including the passed number if it is a Fibonacci number. As an example, passing 4 to the function should returns 5 because all the odd Fibonacci numbers under 4 are 1, 1, and 3.

Factorial πŸ”ƒ

Returns the factorial of the provided integer.

HTML Entries Converter πŸ“„

Converts the characters &, <, >, " (double quote), and ' (apostrophe), in a string to their corresponding HTML entities.

About

My list of algorithms written in Ruby

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages