Given an array arr[] of positive integers and an number K, the task is to find the minimum and maximum values of Bitwise operation onâĶ Read More »
Given an integer K, the task is to find a pair of numbers (A, B) such that A – B = K and A /âĶ Read More »
Given an integer N, our task is to check if N can be divided into K consecutive elements with a sum equal to N. PrintâĶ Read More »
Given an even number N, the task is to check whether it is a Perfect number or not without finding its divisors. In number theory,âĶ Read More »
How I came to know about the opening ? So, Paytm recruiters mention a post on linked in and my friend tag me in theâĶ Read More »
Given integers x and y which denotes the average temperature of the week except for days Day1 and Day2 respectively, and the sum of theâĶ Read More »
Given a number N, the task is to find the number of days corresponding to each month where 1 is January, 2 is February, 3âĶ Read More »
Prerequisites – Two Phase Locking Protocol and Types of Two Phase Locking Protocols 1. Conservative 2-PL : It is also known as Static 2-PL. ThisâĶ Read More »
Given a lowercase characters string str of size N. In one operation any character can be changed into some other character. The task is toâĶ Read More »
ABCD is a square field of 40 acres. The line BE is a straight path, and E is 110 yards from D. In a raceâĶ Read More »
For the last 40-45 years, C is one of the most popular and highly recognized programming languages across the world. In fact, it is theâĶ Read More »
Forget about the programming for a moment and let’s talk about the car…Which is best, a Tesla or a Lamborghini? Some people like Tesla, someâĶ Read More »
Given a string array arr[] as input, the task is to print the words sorted by number of distinct characters that occur in the word,âĶ Read More »
Given an array A[ ] consisting of N strings, the task is to count the number of pairs of possible strings that on merging formsâĶ Read More »
Given a string S in the form of a sentence, the task is to find the word from the text with maximum number of itsâĶ Read More »
Testing Coding problems can sometimes become hectic. Here are some tips to use while testing Algorithmic Programming Problems. There are generally four major categories ofâĶ Read More »
Given an array arr[] of integers of size N, the task is to find the closest pair in the given array such that one elementâĶ Read More »
Given an integer N, the task is to count the numbers up to N having an absolute difference of at most K between any twoâĶ Read More »
Let us see how to copy arrays in Python. There are 3 ways to copy arrays : Simply using the assignment operator. Shallow Copy DeepâĶ Read More »
Given array arr[] of positive integers, an integer Q, and arrays X[] and Y[] of size Q. For each element in arrays X[] and Y[],âĶ Read More »

