For working professionals and students, the biggest challenge is to extract some extra time from their hectic schedule while opting for the learning courses. Honestly,… Read More »

Given two integers A and B, the task is to calculate the number of pairs (a, b) such that 1 ≤ a ≤ A, 1… Read More »

Given an integer N. The task is to reduce the given number N to 1 in minimum number of given operations. You can perform any… Read More »

HashTable: Hashtable is designed to use a special function called the Hash function which is used to map a given value with a particular key for… Read More »

@include keyword is used to include the code written in a mixin block. @mixin is used to group css code that has to be reused… Read More »

Abstract Factory Method is a Creational Design pattern that allows you to produce the families of related objects without specifying their concrete classes. Using the… Read More »

Factory Method is a Creational Design Pattern that allows an interface or a class to create an object, but let subclasses decide which class or… Read More »

Given an integer N, the task is to find the minimum integer that can be obtained from the given integer such that the adjacent digits… Read More »

It was a Professional level coding test, where we were given 4 hours to solve One problem. There is a highway that has damages at… Read More »

Jaro Similarity Jaro Similarity is the measure of similarity between two strings. The value of Jaro distance ranges from 0 to 1. where 1 means… Read More »

Given an integer N, the task is to count the number of binary strings possible such that there is no substring of length ≥ 3… Read More »

A thread is an entity within a process that can be scheduled for execution. Also, it is the smallest unit of processing that can be… Read More »

Given a matrix with most of its elements as 0, we need to convert this matrix into a sparse matrix in Python. Example: Input: Matrix:… Read More »

Given an array of length N and an integer K. The task is to find the maximum length L such that all the subarrays of… Read More »

Given a space-separated string str, the task is to find the first substring whose reverse is a word in the string. All characters of the… Read More »

Given the head of a Singly Linked List and a value m, the task is to move the last m elements to the front. Examples:… Read More »

Are you interested in Data Science? Or maybe you are fascinated by Artificial Intelligence? Or do you just like coding? Well, either way, your future… Read More »

Rabin Cryptosystem is an public-key cryptosystem invented by Michael Rabin. It uses asymmetric key encryption for communicating between two parties and encrypting the message. The… Read More »

Prerequisite:Comparison among bubble sort, insertion sort and selection sort. Write a C program to plot and analyze the time complexity of Bubble sort, Insertion sort… Read More »

Given that the radius of a hemisphere is changed by a fixed percentage so, the target is to calculate the percentage changed in the volume… Read More »