Dive into the application of basic looping techniques in real scenarios. This course will allow you to apply your Ruby knowledge to solve practical tasks, developing your skill in real-world applications of simple loops.
Overview
Syllabus
- Unit 1: Pairing Opposite Elements in Arrays
- Geometrical Means of Opposite Elements in an Array
- Finding Reverse Number Pairs in a List
- Sum Opposite Pairs in an Array
- Unit 2: Traversing Digits and Summing Even Numbers
- Product of Odd Digits
- Reverse Digits of an Integer Using a While Loop
- Duplicating Digits in an Integer
- Count Consecutive Equal Digits
- Unit 3: Pairing Characters in Strings in a Unique Order
- Unique Character Order Reversal
- Repeat Character Jump Task
- Reversed Triple Characters in a String
- Unit 4: Traversing Arrays from the Middle
- Opposite Elements Product Calculation
- Pairing Array Elements from Center to Ends
- Unusual Array Traversal
- Unit 5: Identifying Consecutive Character Groups in Strings
- Run-Length Encoding in Ruby
- Identifying Consecutive Character Groups in Reverse Order
- Find Repeating Two-Character Patterns in a String