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
CP Live
Aptitude
Puzzles
Projects
GBlog
Frontend Developer Roadmap 2024
Frontend development means to design the face of a website or application. It involves working on the appearance of the website. Building interactive buttons, using images...
Read More
Maximize minimum array element possible by exactly K decrements
Given an array arr[] consisting of N integers and an integer K, the task is to maximize the minimum element of the array after decrementing array elements exactly K number...
Read More
Arrays
Mathematical
array-rearrange
DSA
Average width in a N-ary tree
Given a Generic Tree consisting of N nodes, the task is to find the average width for each node present in the given tree.The average width for each node can be calculated...
Read More
Tree
Google
Algorithms
Mathematical
DFS
Recursion
Data Mining
DSA
Split the fraction into sum of multiple fractions having numerator as 1
Given two positive integers N and D representing a fraction as N/D, the task is to split the fraction into the sum of multiple fractions having numerator as 1.Examples:Inp...
Read More
Mathematical
Fraction
DSA
Find permutation of [1, N] such that (arr[i] != i+1) and sum of absolute difference between arr[i] and (i+1) is minimum
Given a positive integer N, the task is to find the permutation of the first N natural numbers, say arr[] such that (arr[i] != i + 1) and the sum of the absolute differenc...
Read More
Arrays
Mathematical
permutation
DSA
How to Create an Onboarding Screen in Android?
Hello geeks, today we are going to learn that how we can add Onboarding Screen to our android application in the android studio so that we can provide a better user experi...
Read More
Java
Android
Algorithms Quiz | Analysis of Algorithms | Question 20
External entities in DFD are shown by:-(A)Ellipse(B)Rectangle(C)Circle(D)Hexagon Answer: (B)Explanation:Quiz of this QuestionPlease comment below if you find anything wro...
Read More
DSA Quiz
Area of Circumcircle and Incircle of a Right Kite
Given two positive integers A and B representing the sides of the right kite, the task is to find the area of the circumcircle and incircle of a right kite.A right kite is...
Read More
Mathematical
Geometric
area-volume-programs
DSA
Maximum houses that can be painted continuously when the painting duration and date limit is given
Given an array arr[][] consisting of N pairs such that each pair {L, R} represents that ith house can be painted in L number of days before the Rth day, the task is to fin...
Read More
Greedy
Sorting
Mathematical
Arrays
DSA
Sum of elements in given range from Array formed by infinitely concatenating given array
Given an array arr[](1-based indexing) consisting of N positive integers and two positive integers L and R, the task is to find the sum of array elements over the range [L...
Read More
Arrays
Mathematical
prefix-sum
array-range-queries
prefix
DSA
Find Array obtained after adding terms of AP for Q queries
Given an array A[] consisting of N integers and Q queries, say Query[][] of the form {L, R, a, d} such that each query represents the infinite AP with the first term as a ...
Read More
Arrays
Mathematical
array-range-queries
Arithmetic Progressions
DSA
Minimum cost for constructing the subsequence of length K from given string S
Given a string S consisting of N lowercase English alphabets, and an integer K and, an array cost[] of size 26 denoting the cost of each lowercase English alphabet, the ta...
Read More
Arrays
Strings
Greedy
Sorting
Mathematical
subsequence
frequency-counting
DSA
Maximize 0s in given Array after replacing each element A[i] with (A[i]*D + B[i])
Given two arrays A[] and B[] consisting of N integers, the task is to find the maximum number of 0s in the array A[] that can be made after replacing each array element A[...
Read More
Arrays
Greedy
Mathematical
Competitive Programming
HCF
DSA
Find all possible GCDs of every subsequences of given Array
Given an array arr[] consisting of N positive integers, the task is to find all the possible distinct Greatest Common Divisors(GCDs) among all the non-empty subsequences o...
Read More
Arrays
GCD-LCM
subsequence
HCF
DSA
Count of N-digit numbers with at least one digit repeating
Given a positive integer N, the task is to find the number of N-digit numbers such that at least one digit in the number has occurred more than once.Examples:Input: N = 2O...
Read More
Dynamic Programming
Mathematical
digit-DP
DSA
Find the Kth smallest odd length palindrome number
Given a positive integer K, the task is to find Kth smallest palindromic number odd length.Examples:Input: K = 5Output: 5Explanation:The palindromic numbers of odd lengths...
Read More
Pattern Searching
Mathematical
Competitive Programming
palindrome
Python Programs
DSA
1
...
5844
5845
5846
...
11360