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
Partition the given array in two parts to make the MEX of both parts same
Given an array arr[] containing N integers where 0 ≤ A[ i ] ≤ N, the task is to divide the array into two equal parts such that the MEX of both the parts are the same, oth...
Read More
Arrays
Mathematical
partition
Geeks-Premier-League-2022
Geeks Premier League
DSA
Lexicographically largest string formed by choosing words from given Sentence as per given Pattern
Given a sentence S and a string B having distinct characters, find a string by joining the words of S according to given conditions:-Choose a word from S ifIt has at least...
Read More
Strings
Pattern Searching
cpp-map
lexicographic-ordering
DSA
Minimum flips to make mean of all k size sub-arrays less than 1
Given an array A of size N, having each element either 0 or 1 and an integer K. Find the minimum number of elements that need to be flipped, such that no sub-array of size...
Read More
Arrays
Binary Tree
Greedy
Mathematical
subarray
Geeks-Premier-League-2022
Geeks Premier League
DSA
Generate longest Array containing distinct even integers with sum N
Given an integer N. Find the maximum length sequence containing distinct even integers with sum N. In case, such a sequence does not exist, return an empty sequence.Exampl...
Read More
Arrays
Mathematical
Geeks-Premier-League-2022
Geeks Premier League
DSA
Find partitions to maximize even and odd count sum in left and right part
Given an array arr[] having N positive integers, the task is to find all the indices i (1 ≤ i ≤ N - 1) such that, the sum of the count of even numbers in the left subarray...
Read More
Arrays
prefix-sum
partition
DSA
Program to find the final size of Congestion Window in TCP Reno
Given the initial congestion window size cwnd, threshold value ssthresh, connection time rtt and an array arr where arr[i] implies the time when a packet loss is detected....
Read More
Mathematical
Computer Networks
Geeks-Premier-League-2022
Geeks Premier League
DSA
Count frequency of K in given Binary Tree
Given a binary tree of N nodes. Count the frequency of an integer K in the binary tree.Examples:Input: N = 7, K = 2 1 / \ 2 3 / \ / \4 2 2 5Output:...
Read More
Tree
Inorder Traversal
Binary Tree
Searching
frequency-counting
DSA
Length of Longest Common Subsequence with given sum K
Given two arrays a[] and b[] and an integer K, the task is to find the length of the longest common subsequence such that sum of elements is equal to K.Examples:Input: a[]...
Read More
Arrays
Dynamic Programming
subsequence
LCS
Recursion
Memoization
DSA
Find a subsequence which upon reversing gives the maximum sum subarray
Given an array arr of integers of size N, the task is to find a subsequence in which upon reversing the order, the maximum sum subarray can be obtained.Examples:Input: arr...
Read More
Pattern Searching
DSA
Merge two Maps of Array into one sorted Map of Array
Given two maps map1 and map2 having a string as the key and arrays of integers as values, the task is to merge them in one map such that if a key is common in both the map...
Read More
Arrays
Data Structures
cpp-map
Geeks-Premier-League-2022
Geeks Premier League
DSA
Find the level with maximum setbit count in given Binary Tree
Given a binary tree having N nodes, the task is to find the level having the maximum number of setbits.Note: If two levels have same number of setbits print the one which ...
Read More
Bit Magic
Tree
Binary Tree
setBitCount
Searching
Mathematical
tree-level-order
Geeks-Premier-League-2022
Geeks Premier League
DSA
Explain ng-app Directive in AngularJS
In this article, we will see the ng-app directive in AngularJS and will understand its use with the help of examples.ng-app directive defines the beginning of an AngularJS...
Read More
Web Technologies
Picked
AngularJS
AngularJS-Questions
How to define a new class in Ember.js ?
Native classes in JavaScript were added in ES6 (or ES2015) as a provision of means to bind data and functions together. They allow us to create a user-defined data type th...
Read More
Web Technologies
JavaScript
Picked
Geeks-Premier-League-2022
Geeks Premier League
What are portals in React and when do we need them ?
In React 16.0 version, React portals were introduced. Portals in React come up with a way to render children components into a DOM node which typically occurs outside the ...
Read More
Web Technologies
Picked
React-Questions
ReactJS
Geeks-Premier-League-2022
Geeks Premier League
Why CodeIgniter is called a loosely based MVC framework ?
In this article, we will discuss why Codeigniter is called a loosely based MVC framework? Let's first discuss what is Codeigniter and why we use it? Codeigniter is PHP bas...
Read More
Web Technologies
Picked
PHP
PHP-Questions
Geeks-Premier-League-2022
Geeks Premier League
1
...
4568
4569
4570
...
11271