You've successfully subscribed to The Poor Coder | Hackerrank Solutions
Great! Next, complete checkout for full access to The Poor Coder | Hackerrank Solutions
Welcome back! You've successfully signed in.
Success! Your account is fully activated, you now have access to all content.
Enable dark mode
Ruby Control Structures - Infinite Loop
Hackerrank Ruby Control Structures - Infinite Loop Solution
This is a wonderful exercise which explains the concept of infinite loops. "A hacker practices on HackerRank until getting to a rating of O(1) read as (Oh-one)" An infinite loop in Ruby is of the form loop do end Use an infinite loop and call the method coder.practice