• The map is filling up!

checkio
  

Good day CheckiO users!

Challenge yourself with our latest missions:

The first mission is called Remove Brackets where you have to restore the balance of open and closed brackets by removing the unnecessary ones with the minimum number of deletions.

removeBrackets('(()()') == '()()'
removeBrackets('[][[[') == '[]'
removeBrackets('[[(}]]') == '[[]]'
removeBrackets('[[{}()]]') == '[[{}()]]'
removeBrackets('[[[[[[') == ''

The second is Call to Home and here you have to calculate the total cost of calls that have been made during a particular amount of time with some price specifications.

totalCost(['2014-01-01 01:12:13 181',
'2014-01-02 20:11:10 600',
'2014-01-03 01:12:13 6009',
'2014-01-03 12:13:55 200']) == 124
totalCost(['2014-02-05 01:00:00 1',
'2014-02-05 02:00:00 1',
'2014-02-05 03:00:00 1',
'2014-02-05 04:00:00 1']) == 4
totalCost(['2014-02-05 01:00:00 60',
'2014-02-05 02:00:00 60',
'2014-02-05 03:00:00 60',
'2014-02-05 04:00:00 6000']) == 106

The third is Cipher Map in which you need to write a cipher program to encode a secret password.

recallPassword(['X...', '..X.', 'X..X', '....'],
['itdf', 'gdce', 'aton', 'qrdi']) == 'icantforgetiddqd'
recallPassword(['....', 'X..X', '.X..', '...X'],
['xhwc', 'rsqx', 'xqzz', 'fyzr']) == 'rxqrwsfzxqxzhczy'

The previous week’s missions were: Letter Queue, Striped Words, Conversion from CamelCase, Conversion into CamelCase, and Secret Message. Check out the leaderboard, which should be open if you have solved them, and find out which solution was the best!

    Highlights from the JS world:
  • (sponsored) MentorBot is an amazingly easy way for an IT mentors and students to find each other. If you are looking to improve your skills and learn something new, you’ll be able to find a mentor of Java, Python, JavaScript, C#, DevOps, PHP, QA and other techs. If you want to teach and help others, you’ll be able to find your students here. (Note. It’s a Russian-language link.)
  • Sharpen your skills with 10 JavaScript Quiz Questions and Answers. The questions here are challenging and instructive. You’ll be able to see where and why you got something wrong or confirm that your skills are quite sharp are this point. It can be very useful!
  • When dealing with non-trivial apps, identifying and fixing JavaScript memory issues can turn into an extremely challenging task. For this reason, you might really want to check out the Causes of Memory Leaks in JavaScript and How to Avoid Them. You’ll be able to go over the programming patterns that cause memory leaks in JavaScript and see the explanations on how to improve memory management.

Also we have released some changes in the mission creation process to make it faster and easier to create. It includes:

- webhook for automate synchronization;

- autofill.sh for a faster autofill command call.

Check out the updated blog post for more info.

Our congratulations to the winner of May 2020 - vincent.tscherter - you are totally Awesome and we are very glad to have you here with us!

Become Awesome

  • No Ads
  • No Limits
  • More Content

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