Tag Archives: interview-preparation

Given two integers N and E, where N represents the number of full water bottles and E represents the number of empty bottles that can… Read More
Given a pair of coordinates (X1, Y1)(source) and (X2, Y2)(destination), the task is to check if it is possible to reach the destination form the… Read More
Given a matrix arr[][] and an integer K, the task is to find the smallest element from all possible square submatrices of size K from… Read More
Given two arrays A[] and B[], the task is to find the maximum number of uncrossed lines between the elements of the two given arrays.… Read More
Python is a general-purpose, high-level programming language. It is the most popular language among developers and programmers as it can be used in Machine Learning,… Read More
There are some processes that need to be executed. The amount of load that process causes a server that runs it, is being represented by… Read More
Given a string str and two integers X and Y, the task is to find the maximum cost required to remove all the substrings “pr”… Read More
Given a list arr[] of everyday temperatures. For each day, the task is to find the count of days remaining for the next day with… Read More
In a joint family of seven persons L, M, N, O, P, Q, and R, two are married couples. R is a housewife and her… Read More
Attention reader! Don’t stop learning now. Get hold of all the important DSA concepts with the DSA Self Paced Course at a student-friendly price and… Read More
Given a string str, the task is to find the minimum numbers of substrings that the given string S can be split into, such that… Read More
Given an array A[] consisting of N integers, the task is to split the array A[] into subsets having equal sum and of length equal… Read More
You are working in Samara, Russia for a few days. Each day has a new pay per unit of work and a new cost per… Read More
Given an array of integers arr[] consisting of N integers, the task is to minimize the sum of the given array by performing at most… Read More
Given a character matrix arr[][] of dimensions 3 * N, consisting of three characters {#, *, . }, the task is to find the vowels(A,… Read More