Skip to content

Category Archives: Algorithms

Prerequisite: NP-Completeness, NP Class, SAT  Problem– The Almost-SAT problem which is built on top of SAT(Boolean Satisfiability Problem) problem takes a boolean formula in conjunctive… Read More
Apple is one of the world’s favorite tech brands, holding a tight spot as one of the tech Big Four companies. Apple products have found… Read More
Why do we check up to the square root of a number to determine if that number is prime? Prime numbers are natural numbers greater… Read More
Given an integer N which denotes the number of elements in a binary heap. Check if the binary Heap is completely filled or not. Examples:… Read More
Given an array A[] of length N, choose any two elements x and y from the array, the task is to find the maximum value… Read More
Given a string S of size N consisting of characters ‘0’ to ‘9’, the task is to print the longest palindrome that can be formed… Read More
Given a binary string S of length N and an integer X, the task is to check if there exists a right-wise circular rotation of… Read More
You are given an array arr[] of size N, the task is to determine the MEX of the array. MEX is the smallest whole number… Read More
Given a permutation A[] of first N integers (i.e. array contains integers from 1 to N exactly once) and an integer K, the task is… Read More
Given an array Arr[] of size N, the cost of removing ith element is Arr[i]. The task is to remove the maximum number of elements… Read More
Given an array arr[] of N integers, the task is to check whether it is possible to make all the array elements identical by applying… Read More
Given an array A, the task is to find elements with the occurrence at least K times the frequency of the least occurring element in… Read More
Wipro Coding Sheet is prepared to crack Wipro interviews. Wipro Limited is a leading technology, service, and consulting company that thrives on innovation. It has… Read More
Given a string S consisting of only lowercase English letters of length N, the task is to find the count of substrings such that each… Read More
4 – Queens’ problem is to place 4 – queens on a 4 x 4 chessboard in such a manner that no queens attack each… Read More

Start Your Coding Journey Now!