Sign in

Photo by Ricardo Gomez Angel on Unsplash

For Staircase algorithms problems, i am sure many of you have seen different way to do it. Either with high order built-in function or using more basic way of approach.

This is solution is sharing by my friend Ciara when we were working on HackerRank Staircase problem, I enjoy to…


Photo by billow926 on Unsplash

Yes our algorithm problem this time from HackerRank is trying to solve something that sales by match. It is using socks as example and let take a look into this.

There is a large pile of socks that must be paired by color. Given an array of integers representing the…


Photo by Tine Ivanič on Unsplash

Today we got a fun algorithm problem from HackerRank to look at. It is call Electronics Shop. This question has two array and they are looking for sum of elements between two arrays. …


Photo by bantersnaps on Unsplash

Today i got some fun algorithm problem from HackerRank to look at. It is call Number Line Jumps. You are choreographing a circus show with various animals. For one act, you are given two kangaroos on a number line ready to jump in the positive direction (i.e, toward positive infinity).


Photo by Jon Tyson on Unsplash

Last time we used .Set() to solve this algorithm problem. This time we are using different approach. Let take a look for how to use object to set key and value, then looping through the array. …


Photo by Mark Fletcher-Brown on Unsplash

This is an algorithm problem I believe a lot of people have seen before. And I see many people using object and set for key and value to loop through the array and solve the problem. Today we can try on something a little different but also easy to approach…


Photo by Dmitry Ratushny on Unsplash

In Software field, finish school or bootcamp is not the end of learning process. It just makes me realize there are a lot more ahead of me to learn. I am human not superman, I will get tired and frustrated but, in the end, we still have to keep working…


Not only in the project but also in some algorithm questions, we will have to use array methods to solve the problem. Array methods are functions built-in to JavaScript that we can apply to our array. Each method has a unique function that performs a change or calculation for our…


Photo by Austin Distel on Unsplash

Since, we are getting close to finish our bootcamp the following up next challenge will be searching future job. But this year is very different compare to previous year, it has been almost 10 months that WHO declared Covid-19 a pandemic. Millions of people have lived through lockdowns and shift…


Photo by Chris Ried on Unsplash

Through out the bootcamp and a little understanding for the coding language. Most of the famous programming languages are pretty much all written in English. Then I start curious about how other coding languages that is not written in English will look like. After discussing my question with one of…

Tomlai

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store