Skip to content

YanFym/Some_functions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

README

1st 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.

2d Function to sort array of numbers by amount of '1' in its binary representation. Numbers with identical amount of '1's ordered by decimal representation.

Ruby

rubu 2.6.3

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages