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 »