AI vs Human Have you ever wondered how smart robots compare to humans? That’s what we’re exploring in this blog post! We’ll break down the differences between artificial intelligence (AI) and human intelligence in simple terms that everyone can understand. 💡Understanding AI: First, let’s talk about AI. Imagine a super-smart computer that can learn, think, […]

Read More →

JavaScript Custom Promise | Promise Polyfill 👉Let’s First Write JavaScript InBuilt Promise 💡Understand the Promise approach – Promise function takes one parameter and that is an executable function.– When we call this Promise with the new keyword, it returns a promise object.– Executable function is like a higher order function that takes two function arguments […]

Read More →

JavaScript Promisify What is Promisification? Promisification represents transformation. It’s the conversion of a callback-accepting function into a promise-returning function. What are Callbacks? A JavaScript callback is a function that is supposed to run after another function’s completion. These are the functions that are passed to another function as arguments that are invoked inside that main function […]

Read More →

JavaScript Promise and Callbacks 💡What is the meaning of asynchronous? “Asynchronous,” often known as “async,” simply means “takes some time” or “occurs in the future, not now.” 💡What are callbacks? There isn’t a special thing called a ‘callback’ in the JavaScript language, it’s just a convention.Instead of immediately returning some result like most functions, Callback-based […]

Read More →

CSS Display Property 👉 Display property defines how an element will render into a page. Let’s first see all possible values of the display property. Reference: https://developer.mozilla.org/en-US/docs/Web/CSS/display 💡In this article, we will see all the details of block, inline, and inline-block values. block property display: block; Line break – block creates line break before and […]

Read More →

queue using linked list | Implementation of Queue using Linked List | Queue in Javascript | queue js | javascript queue implementation | javascript queue data structure | queue data structure javascript | javascript queue example The queue rule says that insertion takes place at one end and deletion takes place at the other end, […]

Read More →

Insertion sort in data structure | insertion sort algorithm in data structure | insertion sort example | insertion sort javascript Insertion Sort is one of the simplest sorting techniques which you might have used in your daily lives while arranging a deck of cards. Since we insert one element at a time in its correct […]

Read More →

Selection Sort Algorithm | K’th Largest Element in Array | Find kth smallest element in the array | Selection sort in data structure | Selection Sort Algorithm in data structure | Selection sort program | What is selection sort? Selection sort is also known as IN-Place Sorting Algorithm. Rearranging the elements in a meaningful order […]

Read More →

Dependency Inversion Principle with Example | Dependency Inversion Solid Principle | Dependency inversion principle | Dependency inversion | Solid dependency inversion | Dependency inversion principle javascript Please refer above blog post to Understand SOLID principles in JavaScript. In this post, we will learn the Last Solid principle of Dependency Inversion with an Example in Javascript. […]

Read More →

ASCII Code of Characters | ASCII Code | ASCII Code of a to z | ASCII Code Table | Binary to ASCII Code | What is ASCII Code? | ASCII Code of 0 to 9 What is ASCII? 💡ASCII is a common data encoding type used for computer-to-computer electronic communication.ASCII assigns standard numeric values to […]

Read More →

Factors of a number 💡 What are the Factors of any number? Factors of any number (n) will be those numbers that exactly divide it and give a remainder as 0. This means that the two whole numbers whose product is given number (n) are the factors of that number. 💡 What are the Prime […]

Read More →

LeetCode – Game of Life Problem | Solution with JavaScript Link – https://leetcode.com/problems/game-of-life/ Problem Statement – According to Wikipedia’s article: “The Game of Life, also known simply as Life, is a cellular automaton devised by the British mathematician John Horton Conway in 1970.” The board is made up of a m x n grid of cells, where each cell has […]

Read More →

Fibonacci series using recursion | Fibonacci series | Fibonacci series in javascript | Fibonacci series in javascript using recursion | Fibonacci series in javascript using while loop | program fibonacci series | program for Fibonacci series in javascript | Fibonacci series in JavaScript ES6 | fibonacci series using generator The Fibonacci Sequence is the series […]

Read More →

javascript coding interview question | javascript coding interview | javascript coding challenges | javascript coding practice | javascript coding examples | javascript practice exercises | coding questions in javascript | console programs javascript | javascript interview questions 💡What is the output of the below program? 💡 What is the output of the below program? Explanation […]

Read More →

LeetCode – Coin Change Problem Problem LeetCode Link – https://leetcode.com/problems/coin-change/ You are given an integer array coins representing coins of different denominations and an integer amount representing a total amount of money. Return the fewest number of coins that you need to make up that amount. If that amount of money cannot be made up by any combination of the […]

Read More →

HackerRank Dictionaries and Maps Problem Problem: https://www.hackerrank.com/challenges/30-dictionaries-and-maps/problem TaskGiven n names and phone numbers, assemble a phone book that maps friends’ names to their respective phone numbers. You will then be given an unknown number of names to query your phone book for. For each name queried, print the associated entry from your phone book on a new […]

Read More →

React Redux Unit Testing 💡 To Test Redux, First, we have to mock the store. And to mock store, we will use a package named ‘redux-mock-store’. You can find the package on this link:https://www.npmjs.com/package/redux-mock-store 💡 Let’s configure mock store – 💡 If you have thunk middleware then We have to pass middleware into our store […]

Read More →

Micro frontends with Module Federation | Micro frontends architecture react | micro frontend react | module federation micro frontend react | module federation micro frontend | module federation react | module federation examples | module federation react example 💡 What are Micro Frontends? Micro front-end extends the concepts of microservices to the frontend world. Building […]

Read More →

react interview question and answer, top react interview question, interview question react, interview question react js, react routing interview questions, react js routing interview questions, react-router interview questions, react routing, react routing questions This Article contains Question of React Router V5 and V6 React Router v6https://reactrouter.com/docs/en/v6/getting-started/overview 💡 What are route-matching components? Switch and Route are […]

Read More →

higher order component with functional component, higher-order component in functional component, higher-order component, higher-order component in react, hoc react, react higher-order components, higher-order component in react, react hoc functional component, hoc react functional component, hoc in functional component, higher-order components react 💡 A pattern where a function takes a component as an argument and returns […]

Read More →