• TOP 7 Reasons Why A Developer Can Kiss His Productivity Goodbye

checkio

Hi, guys!

The company employers and management are constantly trying to find ways of improving the developers' productivity. at the same time they are failing to recognize and get rid of things that are actually destroying any chances of having a productive team. We've conducted a list of TOP 7 Reasons Why A Developer Can Kiss His Productivity Goodbye. Check it out and tell us what you think!

Challenge yourself with our latest missions:

The first mission was created by kurosawa4434 and is called the "River Crossing", where your task is to calculate the minimum number of boat crossings required to carry all the loads given as four integers.

river_crossing(1, 1, 1, 1) == 7 # original
river_crossing(1, 1, 1, 2) == 3  # payload +1
river_crossing(2, 1, 1, 2) == 5  # payload +1, wolf +1
river_crossing(1, 2, 1, 1) is None  # impossible

The second is the "Replace First" mission and here you need to replace the last element with the first one.

replace_first([1, 2, 3, 4]) == [2, 3, 4, 1]
replace_first([1]) == [1]

The third is "Split List" and here your task is to split a given array into two arrays.

split_list([1, 2, 3, 4, 5, 6]) == [[1, 2, 3], [4, 5, 6]]
split_list([1, 2, 3]) == [[1, 2], [3]]

The fourth mission is "Remove All After" where you have to remove all of the elements after the given one from list.

remove_all_after([1, 2, 3, 4, 5], 3) == [1, 2, 3]
remove_all_after([1, 1, 2, 2, 3, 3], 2) == [1, 1, 2]

The users who’ve made the TOP 3 this month are Phil15, przemyslaw.daniel, and veky. You are doing great, guys! Keep on coding!

Welcome to CheckiO - games for coders where you can improve your codings skills.

The main idea behind these games is to give you the opportunity to learn by exchanging experience with the rest of the community. Every day we are trying to find interesting solutions for you to help you become a better coder.

Join the Game