3 followers
Fullstack developer trying to learn, and teach better
Subscribe to my newsletter and never miss my upcoming articles
What is a Singly Linked List? A singly linked list is a linear data structure similar to an array. However, unlike arrays, elements are not stored in a particular memory location or index. Rather each element is a separate object that contains a poin...
Data Structures are a collection of values, the relationship between them and the functions or operations that can be applied to the data. What are the different data structures available? The most commonly used data structures are Singly Linked Li...
Given a string, return a new string with the reversed order of characters. Examples: reverse('apple') === 'leppa' reverse('hello') === 'olleh' reverse('Greetings!') === '!sgniteerG' Pseudo Solution: Convert the string to array Reverse the array usin...
Question: Write a program that prints the numbers from 1 to n. But for multiples of three, print "Fizz" instead of the number, and for the multiples of five, print "Buzz". For numbers which are multiples of both three and five, print "FizzBuzz" Opti...
What is Big O Notation ? Why do we need it ? TL;DR Big O is the objective way to measure the code we write. We can use this to determine which code suits the problem better In problem solving, there are many possible way we can solve a simple pro...
TL;DR Ensure to use 'useState()' to store the values retrieved from API, and 'await' or '.then' to make the actual API call with help of async. If you are new to React then understanding the working of Promise and Async can be a little tricky. Let'...