-
This week's missions: Fast Train and Identify Block
Hello CheckiO users! 🙂
💪 Challenge yourself with our latest missions:
The first mission is called Fast Train and here you have to find the minimum time of traveling between the stations while planning the train schedule.
fastTrain([[4, 3]]) == 3 // (1, 2, 1) fastTrain([[9, 5]]) == 5 // (1, 2, 3, 2, 1) fastTrain([[5, 5], [4, 2]]) == 6 // e.g. (1, 2, 2, 2, 1, 1)
The second is the Identify Block mission where your task is to identify the kind of block (tetromino).
identifyBlock([1, 2, 3, 4]) === 'I' identifyBlock([1, 2, 3, 6]) === 'T' identifyBlock([1, 5, 6, 10]) === 'S'
-
💡 Highlights from the JS world:
- Learning any new technology is a time-consuming process where it's easy to get lost. This is why you simply should check out this series of practical, bite-sized videos about Node.js for beginners so you can get up to speed quickly! The focus is on the most important tasks and scenarios. You'll get all the essential knowledge you need to get started on your project.
- Find out why you should stop using 'any' in TypeScript, since there’s a type for that! You’ll see great reasoning with clear examples.
- Even if you don't write your code in TypeScript you can still generate .d.ts files to provide more information to developer tools. Get a look at how to create TypeScript declarations from JavaScript and JSDoc step by step. It’ll definitely come in handy!
The users who’ve made the TOP 3 this month are mortonfox, ArchTauruS, and s0me1. 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