Post image
This week's missions: Bigger Together and Best Stock
checkio
  

Hello CheckiO users! 🙂

💪 Challenge yourself with our latest missions on the Mine station:

The first mission is called Bigger Together where you must find a difference between the maximally positive and maximally negative numbers.

biggerTogether([1,2,3,4]) == 3087 // 4321 - 1234
biggerTogether([1,2,3,4, 11, 12]) == 32099877 // 43212111 - 11112234
biggerTogether([0, 1]) == 9 // 10 - 01
biggerTogether([100]) == 0 // 100 - 100

The second mission is Best Stock and here you need to find out which stocks from given stock prices cost more.

bestStock({'ATX': 390.2,
  'CAC': 10.0,
  'WIG': 1.2}) == 'ATX'
bestStock({'ATX': 1.01,
  'CAC': 91.1,
  'TASI': 120.9}) == 'TASI'
    💡 Highlights from the JS world:
  • Reed Barger put together an amazing React Cheatsheet for 2020 of all of the concepts and skills you need to master. You’ll see the real-world, practical examples with meaningful comments to guide you along the way. This stiff is great!
  • Check out the 5 TILs about Node.js Fundamentals from the Node.js Design Patterns Book. You can go over the libuv and the Reactor Pattern, Module Design Patterns, Unleashing Zalgo, Managing Async and Limiting Concurrency with async, and Streams. This might be of interest for you!
  • See how to use Socket.IO and build your first multiplayer game! You’ll be presented with an example where, using a library that allows to create realtime applications, will be created a button which when clicked, moves to a random location within the document. Also, the movement will be made real-time, so other people see if there is somebody else clicking it.

Our congratulations to the winner of September 2020 - lolucky - you are totally Awesome and we are very glad to have you here with us! 👏🏼

Created: Oct. 9, 2020, 7:29 a.m.
0
19
User avatar
oduvan