Odd Occurrences In Array

Problem A non-empty array A consisting of N integers is given. The array contains an odd number of elements, and each element of the array can be paired with another element that has the same value, except for one element that is left unpaired. For example, in array A such that: the elements at…

Read More

All You Need To Know About Event Loop (1)

JavaScript Process One of the great features of JavaScript is that it is a single-threaded-based language. Single thread means that only one task can be processed at the same time. However, if you consider the environment in which JavaScript is actually used, you can see that a lot of work is being…

Read More

Binary Gap

Problem A binary gap within a positive integer N is any maximal sequence of consecutive zeros that is surrounded by ones at both ends in the binary representation of N. For example, number 9 has binary representation 1001 and contains a binary gap of length 2. The number 529 has binary…

Read More

Preprocess Dates

Problem My Solution success

Read More

The Intermediate Guide to Console method with Your Browser

Introduction For everyone who can code, is the most famous method and basic method for debugging. It prints out the value from the location you want. However, you can expand the utilization of the method more. 1. console.log() this is the most basic one. It prints out everything inside the index…

Read More
Page 23 Of 26