Big Sorting
October 01, 2021Consider an array of numeric strings where each string is a positive number with anywhere from to digits. Sort the array’s elements in non…
Consider an array of numeric strings where each string is a positive number with anywhere from to digits. Sort the array’s elements in non…
Given two arrays A and B of size N and M respectively, print the count of elements in the intersection (or common elements) of the two…
Given an m x n matrix, return true if the matrix is Toeplitz. Otherwise, return false. A matrix is Toeplitz if every diagonal from top-left…
Chef decided to find the connections with all of his friends in an unnamed social network. He calls a user of the social network his…
Problem Explanation : In this problem you will be provided with array A of N elements in it and K.We need to find the distinct valid…
Problem statement- For a given string s, the task is to compute the length of the longest proper prefix which is same as the suffix of the…
Problem Statement: Manipulating numbers is at the core of a programmer’s job. To test how well you know their properties, you are asked to…
Problem Statement: You will be given a list of 32 bit unsigned integers. Flip all the bits ( and ) and return the result as an unsigned…
Problem Statement: Lauren has a chart of distinct projected prices for a house over the next several years. She must buy the house in one…
Given a sqaure matrix of dimensions r x c (of course r and c will be same) find whether the overall sum of all elements on left diagonal of…
Given a R x C matrix Fill matrix with values from 1 to RxC spirally. We’ve to repeatedly print elements using these orders (Left->Right…
Shreya is an average student in her school. She wants to get scholarship but her teacher gave her a puzzle to solve, in puzzle she will be…
Each student in KLU is given a matrix and are assigned with few tasks, Rishab being a student of kLU is also given a matrix and is assigned…
Holidays have finished. Thanks to the help of the hacker Leha, Noora managed to enter the university of her dreams which is located in a…
Write a program which identifies the number of combinations of three integers which satisfy the following conditions: You should select…