New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Готовые задания #1
base: master
Are you sure you want to change the base?
Conversation
…ссе уборки. Четвертое 60%
…ссивов с баннерами. 2. Она является хэш-массивом с ключами - названиями этих массивов и значениями - AlreadyOut[] каждого из них. Т.к. эта ситуация близка к реальной, принято решение использованное решение не менять. Приводить, однако, переменную к виду хэш-массива в данном случае нецелесообразно
Давай так, переоформи пожалуйста по вот этому стилю https://github.com/bbatsov/ruby-style-guide |
…о принципиально, пятая упрощена.
…clude? ip--. С этим пока разбираюсь.
def array_uniq_hash(*arrays) | ||
full_array = [] | ||
arrays.each{ |item| full_array += item } | ||
full_array.flatten! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
так может сразу делать full_array = arrays.flatten без промежуточных циклов?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
сделано
No description provided.