mirror of
https://github.com/TheAlgorithms/Ruby
synced 2024-11-16 19:50:00 +01:00
Add problem description copying from sol1.rb
This commit is contained in:
parent
bcd82560aa
commit
770fc9622c
1 changed files with 3 additions and 0 deletions
|
@ -1,5 +1,8 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
# A palindromic number reads the same both ways. The largest palindrome made from the product of two 2-digit numbers is 9009 = 91 × 99.
|
||||
# Find the largest palindrome made from the product of two 3-digit numbers.
|
||||
|
||||
class Integer
|
||||
def parindrome?
|
||||
self == reverse
|
||||
|
|
Loading…
Reference in a new issue