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
Three 90 Challenge: Bigger and Better
As we transit into the new phase, it's essential to fuel our inner drive for success. On popular demand, GeeksforGeeks is happy to announce that we are back with the Thre...
Read More
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
Dumb Components in React Native
In this article, we are going to learn about Dumb components in react Native. The dumb component is one of the categories of React Component so before diving into the dumb...
Read More
Web Technologies
Picked
React-Native
ReactJS
React-Native Component
Geeks-Premier-League-2022
Geeks Premier League
How to delay document.ready() method until a variable is set in jQuery ?
In this article, we will learn to delay document.ready until a variable is set. The document.ready() method is used to execute some jQuery or JavaScript scripts when the H...
Read More
Web Technologies
Picked
HTML-Tags
CSS-Properties
JQuery
jQuery-Methods
jQuery-Questions
Geeks-Premier-League-2022
Geeks Premier League
Media Queries in Desktop First Approach
A good website needs to be responsive, which is done by using CSS media queries. Media queries are used to create new CSS or overwrite existing CSS to modify the layout of...
Read More
Web Technologies
CSS-Properties
HTML
CSS
CSS-Questions
How to enforce strict null checks in TypeScript ?
In Typescript to enforce strict null checks in tsconfig.json file, we need to enable "strictNullChecks" to true. When "strictNullChecks" is false, the language generally i...
Read More
Web Technologies
JavaScript
TypeScript
Picked
Geeks-Premier-League-2022
Geeks Premier League
Spring Boot - AOP After Returning Advice
Prerequisite: Aspect Oriented Programming and AOP in Spring FrameworkAspect-oriented programming(AOP) as the name suggests uses aspects in programming. It can be defined a...
Read More
Java
Picked
Java-Spring-Boot
Geeks-Premier-League-2022
Geeks Premier League
1
...
4536
4537
4538
...
11251