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
Bitwise AND of all unordered pairs from a given array
Given an array arr[] of size N, the task is to find the bitwise AND of all possible unordered pairs present in the given array.Examples:Input: arr[] = {1, 5, 3, 7}Output: ...
Read More
Arrays
Bit Magic
Mathematical
Competitive Programming
C++
C++ Programs
Bitwise-AND
DSA
Maximum value of unsigned long long int in C++
In this article, we will discuss the unsigned long long int data type in C++. It is the largest (64 bit) integer data type in C++.Some properties of the unsigned long long...
Read More
large-numbers
C++
Data Types
Data Type
C++ Programs
Amazon Interview Experience for SDE-1
I got this opportunity during the COVID time and hence all the interview rounds were conducted on Amazon Chime (video call) and I had to write the code on LiveCode (a shar...
Read More
Amazon
Interview Experiences
Experiences
DXC Technology Interview Experience for Associate Professionals (On-Campus)
It was an on-campus drive-by DXC technology for 2021 pass outs.Round 1(Online Test on AMCAT): It consists of :English Verbal ability: 12 QS 15 MINLogical Reasoning: 14 QS ...
Read More
Interview Experiences
On-Campus
DXC Technology
Experiences
ZS Associates Interview Experience for Data Science Associate
ZS Associates is one of the best consulting firms which also has a great team of Data Scientists. The main clientele of ZS is Pharmaceutical companies, but it consists of ...
Read More
Interview Experiences
ZS Associates
Technical Scripter 2020
Experiences
Subsequences generated by including characters or ASCII value of characters of given string
Given a string str of length N, the task is to print all possible non-empty subsequences of the given string such that the subsequences either contain characters or ASCII ...
Read More
Strings
Dynamic Programming
Mathematical
subsequence
Recursion
ASCII
strings
DSA
Calculate Bitwise OR of two integers from their given Bitwise AND and Bitwise XOR values
Given two integers X and Y, representing Bitwise XOR and Bitwise AND of two positive integers, the task is to calculate the Bitwise OR value of those two positive integers...
Read More
Bit Magic
Greedy
Mathematical
Bitwise-XOR
Bit Algorithms
Bitwise-OR
Bitwise-AND
DSA
Count numbers from given range having odd digits at odd places and even digits at even places
Given two integers L and R, the task is to count numbers from the range [L, R] having odd digits at odd positions and even digits at even positions respectively.Examples:I...
Read More
Mathematical
number-digits
maths-power
Natural Numbers
DSA
Split array into equal length subsets with maximum sum of Kth largest element of each subset
Given an array arr[] of size N, two positive integers M and K, the task is to partition the array into M equal length subsets such that the sum of the Kth largest element ...
Read More
Arrays
subset
Greedy
Sorting
Mathematical
DSA
Minimum flips of odd indexed elements from odd length subarrays to make two given arrays equal
Given two binary arrays X[] and Y[] of size N, the task is to convert array X[] into array Y[] by minimum number of operations of selecting any subarray of odd length and ...
Read More
Arrays
Greedy
Pattern Searching
array-rearrange
subarray
DSA
Split squares of first N natural numbers into two sets with minimum absolute difference of their sums
Given an integer N, the task is to partition the squares of first N( always a multiple of 8 ) natural numbers into two sets such that the difference of their subset sums i...
Read More
Algorithms
Analysis of Algorithms
Greedy
Mathematical
Combinatorial
Competitive Programming
interview-preparation
Recursion
number-theory
C++ Programs
NCR Corporation
maths-perfect-square
Natural Numbers
DSA
Minimum subarray reversals required to make given binary array alternating
Given a binary array arr[] consisting of equal count of 0s and 1s, the task is to count the minimum number of subarray reversal operations required to make the binary arra...
Read More
Arrays
Linked List
Greedy
Mathematical
binary-representation
array-rearrange
subarray
C++
DSA
Modify sequence of first N natural numbers to a given array by replacing pairs with their GCD
Given an integer N and an array arr[], the task is to check if a sequence of first N natural numbers, i.e. {1, 2, 3, .. N} can be made equal to arr[] by choosing any pair ...
Read More
Greedy
Mathematical
HCF
number-theory
Maths
DSA
C/C++ Puzzles
Minimum number of rabbits that must be present in the forest
There are some colored rabbits in a forest. Given an array arr[] of size N, such that arr[i] denotes the number of rabbits having same color as the ith rabbit, the task is...
Read More
Arrays
Amazon
Google
Hash
interview-preparation
DSA
Minimize given flips required to reduce N to 0
Given an integer N, the task is to reduce the value of N to 0 by performing the following operations minimum number of times:Flip the rightmost (0th) bit in the binary rep...
Read More
Bit Magic
setBitCount
Dynamic Programming
Mathematical
Recursion
maths-power
DSA
1
...
6922
6923
6924
...
11375