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 sum of second minimums of each K length partitions of the array
Given an array A[] of size N and a positive integer K ( which will always be a factor of N), the task is to find the maximum possible sum of the second smallest elements o...
Read More
Arrays
Greedy
Sorting
Mathematical
subsequence
partition
DSA
Search for an element in a Mountain Array
Given a mountain array arr[] and an integer X, the task is to find the smallest index of X in the given array. If no such index is found, print -1.Examples:Input: arr = {1...
Read More
Arrays
Binary Search
Divide and Conquer
Searching
Sorting
Algorithms-Divide and Conquer
DSA
Split an array into equal length subsequences consisting of equal elements only
Given an array arr[] of size N, the task is to check if it is possible to split the array arr[] into different subsequences of equal size such that each element of the sub...
Read More
Arrays
Greedy
Mathematical
Hash
subsequence
HCF
cpp-map
partition
DSA
Split an array into minimum number of non-increasing or non-decreasing subarrays
Given an array arr[] of size N, the task is to split the given array into a minimum number of subarrays such that elements of each subarray are either in non-increasing or...
Read More
Arrays
Mathematical
Competitive Programming
subarray
partition
DSA
Find the nearest value present on the left of every array element
Given an array arr[] of size N, the task is for each array element is to find the nearest non-equal value present on its left in the array. If no such element is found, th...
Read More
Arrays
Searching
Mathematical
Hash
Technical Scripter
cpp-set
Technical Scripter 2020
DSA
Zynga Interview Experience SE-1 (Experienced)
Round 1(Google Meet Interview DS + ALGO 1H 10M): Started with a quick and healthy introduction. He asked me a little about my past projects, and we proceeded to the questi...
Read More
Interview Experiences
Graph
Experienced
Zynga
DSA
Experiences
Minimize array elements required to be incremented or decremented to convert given array into a Fibonacci Series
Given an array arr[], the task is to find the minimum number increments or decrements by 1 required to convert the array into a Fibonacci Series. If it is not possible, th...
Read More
Arrays
Greedy
Mathematical
Fibonacci
array-rearrange
DSA
Check if an array can be split into K non-overlapping subarrays whose Bitwise AND values are equal
Given an array arr[] of size N and a positive integer K, the task is to check if the array can be split into K non-overlapping and non-empty subarrays such that Bitwise AN...
Read More
Arrays
Bit Magic
Mathematical
subarray
Bitwise-AND
partition
DSA
Expression must have class type error in C++
The expression must have class type is an error that is thrown when the dot(.) operator is used to access an object's properties, is used on pointers to objects.Dot('.') O...
Read More
cpp-operator
CPP-Basics
C++
C++ Programs
Difference between #include in C/C++ and import in JAVA
#include in C/C++: In the case of C language, #include is a standard or user-defined file in a program that tells the preprocessor to insert the internal contents of anoth...
Read More
Misc
Java
CPP-Basics
java-basics
Programming Language
C++
Difference Between
C++ Programs
Error Handling During File Operations in C
It is quite common that errors may occur while reading data from a file or writing data to a file in C. For example, an error may arise due to the following:When trying to...
Read More
C Language
C-File Handling
File Handling
C Programs
C Error Handling Programs
Flutter - DevTools
DevTools is a tooling suite for Flutter and Dart developers consisting of layout inspection tools, performance tools, memory tools basically all the debugging tools that y...
Read More
Technical Scripter
Picked
Flutter
Dart
Flutter
Technical Scripter 2020
How to Become a Research Analyst?
With the increasing popularity of Data Science, jobs like Data Analyst are also becoming more and more popular. One such related job is the Research Analyst. This may soun...
Read More
GBlog
8 Most Popular Tech Fields in 2024
The tech revolution is here, and it's reshaping the very fabric of our professional landscape. IT professionals face a thrilling paradox: a world brimming with groundbreak...
Read More
GBlog
GBlog 2024
Sum of factors of the product of a given array
Given an array arr[] consisting of N positive integers, the task is to find the sum of factors of product of all array elements. Since the output can be very large, print ...
Read More
Arrays
Algorithms
Searching
Mathematical
sieve
prime-factor
factor
DSA
1
...
6576
6577
6578
...
11268