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
Construct MEX array from the given array
Given an array arr[] having N distinct positive elements, the task is to generate another array B[] such that, for every ith index in the array, arr[], B[i] is the minimum...
Read More
Arrays
Greedy
Mathematical
Hash
Competitive Programming
C++ Programs
frequency-counting
counting-sort
DSA
Minimize increments or decrements required to make sum and product of array elements non-zero
Given an array arr[] of N integers, the task is to count the minimum number of increment or decrement operations required on the array such that the sum and product of all...
Read More
Arrays
Mathematical
array-rearrange
frequency-counting
DSA
Count N-length strings consisting only of vowels sorted lexicographically
Given an integer N, the task is to count all possible strings of length N consisting of vowels {a, e, i, o, u} that can be formed such that each string is sorted in lexico...
Read More
Strings
Dynamic Programming
Pattern Searching
Mathematical
Recursion
lexicographic-ordering
DSA
Minimize remaining array element by repeatedly replacing pairs by half of one more than their sum
Given an array arr[] containing a permutation of first N natural numbers. In one operation, remove a pair (X, Y) from the array and insert (X + Y + 1) / 2 into the array. ...
Read More
Arrays
Greedy
Mathematical
array-rearrange
DSA
Non-negative pairs with sum of Bitwise OR and Bitwise AND equal to N
Given an integer N, the task is to find all non-negative pairs (A, B) such that the sum of Bitwise OR and Bitwise AND of A, B is equal to N, i.e., (A | B) + (A B) = N.Exa...
Read More
Bit Magic
Greedy
Mathematical
Bitwise-OR
Bitwise-AND
Maths
DSA
Bitwise OR of sum of all subsequences of an array
Given an array arr[] of length N, the task is to find the Bitwise OR of the sum of all possible subsequences from the given array.Examples:Input: arr[] = {4, 2, 5}Output: ...
Read More
Arrays
Bit Magic
Mathematical
subsequence
prefix-sum
Bitwise-OR
DSA
Rearrange array elements excluded by given ranges to maximize sum of subarrays starting from the first index
Given an array arr[] consisting of N integers and an array Q[][], where each row denotes a range {l, r}(0 ? l ? r ? N - 1). The task is to find the maximum sum of all suba...
Read More
Arrays
Greedy
Sorting
array-rearrange
subarray
Data Structures
prefix-sum
C++ Programs
subarray-sum
DSA
Count pairs from given array with Bitwise OR equal to K
Given an array arr[] consisting of N positive integers and an integer K, the task is to count all pairs possible from the given array with Bitwise OR equal to K.Examples:I...
Read More
Arrays
Bit Magic
Bitwise-OR
DSA
Bitwise OR of all unordered pairs from a given array
Given an array arr[] of size N, the task is to find the Bitwise XOR of all possible unordered pairs from the given array.Examples:Input: arr[] = {1, 5, 3, 7}Output: 7Expla...
Read More
Arrays
Bit Magic
Algorithms
Mathematical
Competitive Programming
C++ Programs
Bitwise-OR
DSA
Bug Tracking System
What is Bug tracking system? A bug tracking system is software that keeps track of bugs that the user encountered in any software development or in any project.The three m...
Read More
Project
Technical Scripter
C Language
C Programs
Technical Scripter 2020
Check whether jigsaw puzzle solvable or not
Given a special Jigsaw puzzle consisting of N rows and M columns all identical pieces. Every piece has three tabs and one blank. The task is to check if the puzzle is solv...
Read More
Mathematical
Competitive Programming
Puzzles
Aptitude-Puzzles
DSA
C/C++ Puzzles
Tableau - Navigation
Tableau is the easy-to-use Business Intelligence tool used in data visualization. Its unique feature is, to allow data real-time collaboration and data blending, etc. Thro...
Read More
Tableau
Tableau
Tableau-basics
Usage of Break keyword in Java
Break keyword is often used inside loops control structures and switch statements. It is used to terminate loops and switch statements in java. When the break keyword is e...
Read More
Java
Java-keyword
Three way partitioning using Dutch National Sort Algorithm(switch-case version) in Java
Given an array list arr and values lowVal and highVal. The task is to partition the array around the range such that the array List is divided into three parts.1) All elem...
Read More
Java
Algorithms
Sorting
DSA
Java Program to Round a Number to n Decimal Places
Floating-point numbers are decimal values, which can be rounded to n number of decimal places. There are 3 different ways to Round a Number to n Decimal Places in Java as ...
Read More
Java
Java Programs
1
...
7039
7040
7041
...
11376