All Easy Articles

## Bitwise operations on Subarrays of size K 2

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 »

## Pair of integers with difference K having an element as the K-th multiple of the other 2

Given an integer K, the task is to find a pair of numbers (A, B) such that A – B = K and A /… Read More »

## Check if N can be divided into K consecutive elements with a sum equal to N 2

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 »

## Even Perfect Number 2

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 »

## Paytm Java Interview Experience( 2-4 year Experience during COVID19 ) 2

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 »

## Find temperature of missing days using given sum and average 2

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 »

## C program to print number of days in a month 2

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 »

## Difference between Conservative and Strict 2PL 2

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 »

## Minimum replacements in a string to make adjacent characters unequal 2

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 »

## Puzzle | Who wins the race on a square field ABCD of 40 acres 2.6

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 »

## C Programming For Beginners – A 20 Day Curriculum! 2

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 »

## Python vs Java – Who Will Win the Battle in 2020? 2.3

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 »

## Sort an array of strings based on count of distinct characters 2

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 »

## Count of pairs of strings whose concatenation forms a palindromic string 2

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 »

## Find the word with most anagrams in a given sentence 2.3

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 »

## Tips for testing code in Compeititive programming 2

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 »

## Closest pair in an Array such that one number is multiple of the other 2.5

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 »

## Count of numbers upto N having absolute difference of at most K between any two adjacent digits 2.5

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 »

## Array Copying in Python 2

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 »

## Maximum possible Array sum after performing given operations 2

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 »