# Category Archives: Arrays

Given an array arr[] of size n and integer k such that k <= n. Examples :  Input: arr[] = {3, 7, 90, 20, 10,… Read More
Round 1 (Coding round): 1) Range [L, R] is given. Need to find what is the maximum repeating digit in prime numbers between L and… Read More
Given an array of distinct integers and a sum value. Find count of triplets with sum smaller than given sum value. The expected Time Complexity… Read More
Given a binary array and an integer m, find the position of zeroes flipping which creates maximum number of consecutive 1’s in array. Examples : … Read More
Given an array of integers and a number k, write a function that returns true if the given array can be divided into pairs such… Read More
Given a sorted array of integers and a number k, write a function that returns true if given array can be divided into pairs such… Read More
Given two integer arrays of same size, “arr[]” and “index[]”, reorder elements in “arr[]” according to given index array. It is not allowed to given… Read More
Given an array, find an element before which all elements are smaller than it, and after which all are greater than it. Return the index… Read More
Given a matrix where every cell has some number of coins. Count number of ways to reach bottom right from top left with exactly k… Read More
I would like to share recent recruitment drive I attended from Paytm CS + Programming + Coding – Screening round 20 MCQ realted to C,… Read More
A number is called as a Jumping Number if all adjacent digits in it differ by 1. The difference between ‘9’ and ‘0’ is not… Read More
Given an array of distinct integers, find if there are two pairs (a, b) and (c, d) such that a+b = c+d, and a, b,… Read More
Given an integer array of n integers, find sum of bit differences in all pairs that can be formed from array elements. Bit difference of… Read More
Given an array, how to check if the given array represents a Binary Max-Heap.Examples:  Input: arr[] = {90, 15, 10, 7, 12, 2} Output: True… Read More
I attended a Paytm recruitment drive. The requirement was for both Front-end and Backend Developers. I applied for Backend. First there was a written round.… Read More