Samsung Electronics interview question

ruby basic