Skip to content

Galathius/max_multiplication_finder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

Implement the function to find the combination of 4 digits in a row which gives the max multiplication. If object is not a string or there are no combinations found - return nil. If combination is found - return it's multiplication result.

E.g. max_multiplication('abc12345def') => 120 # 234*5 max_multiplication('a1b2c3d4e') => nil

Правила приема в порядке приоритета:

  • Правильность решения
  • Наличие тестов
  • Читабельность кода
  • Скорость работы
  • Все должно быть в одном файле

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages