How to Use Constructors in Java: A Beginner's GuideJava is an object-oriented programming language that is centred around the concept of objects. Objects are like real-world entities that are created with the new keyword and occupy memory. But all this happens in the front-end code – so what about th...Jul 8, 2025 · 17 min readfreecodecamp.org
How to Detect a Click Outside of a React Component using Hooks?As web developers, we may come across situations where we might have to detect when a user clicks outside of a specific element, such as a modal or dropdown menu. This can be useful for closing the element or triggering some other action when the use...May 26, 2023 · 2 min readtekolio.com
How to Implement Infinite Scrolling in React by Making a Custom HookWe often find ourselves in a situation where we have to deal with large sums of data in our Applications for user experience. If we render the data, in the same way, using the map function, the DOM Tree and the efficiency of our app will suffer the c...May 2, 2023 · 3 min readtekolio.com
A guide to React Context API and useContext hook.Continue ReadingFeb 17, 2023 · 1 min readtekolio.com
How to Calculate the Value of nCr%pProblem Statement 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. Examples Input: n = 10, r = 2, p = 13 Output: 6 Explanation: 10C2 is 45 and ...Aug 5, 2022 · 2 min readtekolio.com