Courses
Tutorials
Jobs
Practice
Contests
Data Structure
Java
Python
HTML
Interview Preparation
Trending Now
DSA
Web Tech
Foundational Courses
Data Science
Practice Problem
Python
Machine Learning
JavaScript
System Design
Django
DevOps Tutorial
Java
C
C++
ReactJS
NodeJS
Web Design
Web Browser
CP Live
Aptitude
Puzzles
Projects
GBlog
Complete DevOps Roadmap - Beginner to Advanced
DevOps is considered a set of practices that combines the abilities of Software Development i.e Dev and IT Operations i.e Ops together, which results in delivering top-not...
Read More
Check if two strings can be made equal by swapping pairs of adjacent characters
Given two strings A and B of length N and M respectively and an array arr[] consisting of K integers, the task is to check if the string B can be obtained from the string ...
Read More
Strings
Greedy
Hash
Technical Scripter
cpp-map
frequency-counting
Technical Scripter 2020
DSA
Generate a matrix having each element equal to the sum of specified submatrices of a given matrix
Given a matrix mat[][] of dimensions M*N and an integer K, the task is to generate a matrix answer[][], where answer[i][j]is equal to the sum of all elements mat[r][c][/c]...
Read More
Algorithms
Matrix
Technical Scripter
prefix-sum
Technical Scripter 2020
DSA
Smallest positive integer that does not divide any elements of the given array
Given an array arr[] consisting of N positive integers, the task is to determine the smallest positive integer K such that none of the array elements is divisible by K.Exa...
Read More
Arrays
Algorithms
Searching
Mathematical
divisibility
DSA
Find the last player to be able to remove a string from an array which is not already removed from other array
Given two arrays of strings arr[] and brr[] of size N and M respectively, the task is to find the winner of the game when two players play the game optimally as per the fo...
Read More
Arrays
Strings
array-rearrange
DSA
Find the duplicate characters in a string in O(1) space
Given a string str, the task is to find all the duplicate characters present in a given string in lexicographical order without using any additional data structure.Example...
Read More
Strings
Bit Magic
Searching
C++
frequency-counting
DSA
Maximize count of subsets into which the given array can be split such that it satisfies the given condition
Given an array arr[] of size N and a positive integer X, the task is to partition the array into the maximum number of subsets such that the multiplication of the smallest...
Read More
Arrays
subset
Greedy
Sorting
partition
DSA
Minimize insertions required to make all characters of a given string equal
Given a binary string S of length N, the task is to find the minimum number of characters required to be inserted such that all the characters in the string becomes the sa...
Read More
Strings
Greedy
Searching
DSA
Minimize flips required such that string does not any pair of consecutive 0s
Given a binary string S, the task is to find the minimum count of flips required to modify a string such that it does not contain any pair of consecutive 0s.Examples:Input...
Read More
Strings
binary-string
C++
DSA
Minimum subsequences of a string A required to be appended to obtain the string B
Given two strings A and B, the task is to count the minimum number of operations required to construct the string B by following operations:Select a subsequence of the str...
Read More
Strings
Greedy
Hash
Competitive Programming
subsequence
C++
cpp-map
cpp-set
DSA
Check if two arrays can be made equal by swapping pairs of one of the arrays
Given two binary arrays arr1[] and arr2[] of the same size, the task is to make both the arrays equal by swapping pairs of arr1[ ] only if arr1[i] = 0 and arr1[j] = 1 (0 ?...
Read More
Arrays
Greedy
array-rearrange
C++ Programs
Swap-Program
DSA
Largest number divisible by 50 that can be formed from a given set of N digits consisting of 0s and 7s only
Given an array arr[] consisting of N integers which are either 0 or 7, the task is to find the largest number that can be formed using the array elements such that it is d...
Read More
Arrays
Greedy
Mathematical
divisibility
DSA
Calculate area and height of an isosceles triangle whose sides are radii of a circle
Given integers R and[Tex]\alpha[/Tex]representing the radius of a circle and the angle formed at the center O by the sector AB (as shown in the figure below), the task is ...
Read More
Mathematical
Geometric
area-volume-programs
Geometric-Lines
DSA
Generate an N-length array having sum of each subarray divisible by K
Given two positive integers N and K, the task is to generate an array consisting of N distinct integers such that the sum of elements of each subarray of the constructed a...
Read More
Greedy
Mathematical
series
subarray
School Programming
subarray-sum
DSA
IIT Jodhpur M.Tech Admission Experience
After my gate exam I appeared for M.Tech interviews in many IITs and fortunately cleared M.Tech in CSE and AI in IIT Jodhpur.So I will discuss both interview experience on...
Read More
Interview Experiences
IIT Jodhpur
Experiences
MongoDB - Map Reduce
In MongoDB, map-reduce is a data processing programming model that helps to perform operations on large data sets and produce aggregated results. MongoDB provides the mapR...
Read More
Picked
MongoDB
MongoDB-method
1
...
6087
6088
6089
...
10978