2 followers

A blogging website to help aspiring developers

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...

We 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,...

Continue Reading

Problem 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...

HashMap in Java is a part of Java Collections Frameworks since Java 1.2 and provides the basic implementation of the Map interface in Java. It stores...

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 order such that...