Skip to content

HatemKhattab/testdome-ruby-on-rails-challenge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

new ruby challenge from testdome

https://www.testdome.com/t?backUrlSkill=95&generatorId=66&questionIds=9239%2C11844%2C11983%2C11835

question_1

A palindrome is a word that reads the same backward or forward. Write a function that checks if a given word is a palindrome. Character case should be ignored For example, is palindrome("Deleveled") should return true as character case should be ignored, resulting in "deleveled", which is a palindrome since it reads the same backward and forward.

question_2

Implement a group by owners function that: Accepts a hash containing the file owner name for each file name. Returns a hash containing an array of file names for each owner name, in any order For example,

for hash {'Input.txt' => 'Randy, 'Code.py' => 'Stan', 'output.txt' => 'Randy'}
the group_by_owners function should return {'Randy' =>['Input.txt', 'output.txt'], 'Stan' => ['Code.py']} 

About

a new ruby challenge with test dome.com

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages