In this blog, we will learn How to Detect a Click Outside of a React Component using useEffect and useRef hooks and event listenersRead MoreHow to Detect a Click Outside of a React Component using Hooks?
learn How to Use Hooks to Create Infinite Scrolling in React by making a custom hook in React.Read MoreHow to Implement Infinite Scrolling in React by Making a Custom Hook
React Movie App or Movie App in React is a fun project that every React developer should make once, in order to improve/ enhance/ polish their React coding...Read MoreHow to build a Movie App in React using TMDB API?
React Context API was mainly introduced to solve one of the major problems that React developers like us were facing at that time - prop drilling and ...Read MoreA Guide to React Context API and useContext hook
TreeMap in Java, just like the HashMap, is part of the java collection framework. It is a red-black tree-based implementation of the Map interface...Read MoreExplaining TreeMap in Java in Simple English
In this blog, we will see how to calculate the factorial of a given number even if that number is large..Read MoreHow to Calculate the Factorial of a given number
In this blog, we're going to learn how to merge two sorted arrays into a single sorted array using different approaches like insertion sort, merge sort...Read MoreHow to Merge Two Sorted Arrays
Selection Sort Algorithm is an in-place comparison-based sorting algorithm that sorts the array by repeatedly finding and...Read MoreExplaining Selection Sort Algorithm in Simple English
In this blog, we will use the TypeScript version of Particle JS React which is a package for creating 2Danimations to give our App a beautiful Fireworks effectRead MoreHow to make Fireworks in React with Particle JS React
Given three numbers n, r and p, compute the value of nCr%p. Here p is a prime number greater than n, and nCr is the Binomial Coefficient.Read MoreHow to solve nCr%p using Fermat’s Little Theorem?
We are given three integers n, r, and p, we have to find the value of nCr%p. Here p is a natural number greater than n and nCr is the Binomial Coefficient.Read MoreHow to Solve nCr%p using Dynamic Programming
HashMap in Java is a part of the Java Collection Framework which stores data in the form of Key and Value pairs where the key is a uniqueRead MoreHashMap in Java Explained in Simple English with Examples.
Given an array A of 0s, 1s, and 2s of size N, the task is to write a function that can sort an array of 0s, 1s and 2s in ascending orderRead MoreHow to Sort an Array of 0s, 1s and 2s in Java
In this blog, we will learn what exactly array rotation is? And how to rotate an array either in the left or the right direction.Read MoreHow to Rotate an Array in Java
Leaders in an array are those elements that are greater than the elements on their right-hand side in the array. To solve them we have to...Read MoreHow to Calculate the leaders in an Array
Arrays can only store a fixed number of elements in it thus making it impossible to either add or remove an element from an array without ...Read MoreHow to Add and Remove an Element from an array at a Specific Index in Java
the power that hooks have given us has gone beyond our imagination. Here we can even make Custom Hook(s) and use them in our apps like other hooks...Read MoreHow to Make a Custom Hook in React
Time Complexity of algorithms is the amount of time taken by an algorithm to run, as a function of the length of the input..Read MoreTime Complexity of Algorithms Explained with Examples
React table is a library used for creating data tables with data grids which can sometimes be a hassle to make or deal with. It uses Hooks to ...Read MoreHow to Make a Table in React using React Table library
Some ReactJS Bad Practices include- 1. Using Index as the key in the map function 2. Polluting Render method by using Anonymous functions 3. Using Nested Components ...Read MoreReactJS Bad Practices and how to avoid them