1 follower
A Self-taught Software Developer who loves to read, write and learn about tech.
Subscribe to my newsletter and never miss my upcoming articles
Recently, I was working on an application which had a sharded database, required generating unique IDs at scale that could be used as a primary key. This is commonly asked and an interesting system design problem. In this article, I will discuss the ...
Back in March 2017, I was about to complete one year of my Bachelor degree in Computer Science at NIT Jaipur. I had no prior experience of coding, no clue what I was going to do. Next year, I had python programming language in curriculum. I was amaze...
Few days back, one of my friends was asked this question in his JS developer interview. There are several methods & coding techniques to write JavaScript functions. The most common approach is - Method 1 function foo() { // do something } ...
Different countries have different conventions to display monetary values. Likewise, India follow Indian numbering convention. Example - 12345678 // normal number 1,23,45,678 // number in Indian number convention There are several simple and clea...
First, we need to understand the basic ways to get the char at a particular index in the string. There are two ways basically. str.chatAt(index) charAt() method returns a new string, at particular given index. Supported in Old browsers (IE7 too) If...
I had a best friend👬 . We used to study together, party together and talk together. But one day, he moved to Surat for his job. I was alone, couldn't study with anybody, no parties, and no one to talk with as I only had one friend. ☹️ Then, I decide...