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
Find the sum of N terms of the series 12, 14, 24, 58, 164, ...
Given a positive integer, N. Find the sum of the first N term of the series 12, 14, 24, 58, 164, .....Examples:Input: N = 5Output: 272Input: N = 3Output: 50Approach:The se...
Read More
Pattern Searching
Mathematical
series
series-sum
DSA
Find the sum of n terms of the series 12, 105, 1008, 10011, ...
Given a positive integer n. Find the sum of the first n term of the series12, 105, 1008, 10011, .....Examples:Input: n = 4Output: 11136Input: n = 7Output: 11111187Approach...
Read More
Pattern Searching
Mathematical
series
series-sum
DSA
P, NP, CoNP, NP hard and NP complete | Complexity Classes
In computer science, there exist some problems whose solutions are not yet found, the problems are divided into classes known as Complexity Classes. In complexity theory, ...
Read More
time complexity
Algorithms
Analysis of Algorithms
Algorithms-NP Complete
NP Complete
Algo Geek
Algo-Geek 2021
DSA
Count of times the current integer has already occurred during Array traversal
Given an array arr[], the task is to find the number of times the current integer has already occurred during array traversal.Examples:Input: arr[] = {2, 3, 3, 200, 175, 2...
Read More
Arrays
Mathematical
Hash
Java-HashMap
frequency-counting
DSA
Count of Arrays of size N with elements in range [0, (2^K)-1] having maximum sum & bitwise AND 0
Given two integers N and K, The task is to find the count of all possible arrays of size N with maximum sum bitwise AND of all elements as 0. Also, elements should be wit...
Read More
Arrays
Bit Magic
Analysis of Algorithms
Mathematical
C++ Programs
Bitwise-AND
Maths
DSA
Maximum count of distinct sized subarrays with given sum
Given a binary array arr[] of N integers, the task is to find the maximum count of distinct sized subarrays such that the sum of each subarray is K.Example:Input: arr[] = ...
Read More
Arrays
Strings
Mathematical
subarray
sliding-window
DSA
Java Program to Rotate all Matrix elements except the diagonal K times by 90 degrees in clockwise direction
Given a square matrix mat[][] of dimension N and an integer K, the task is to rotate the matrix by 90 degrees K times without changing the position of the diagonal element...
Read More
Java
Greedy
Mathematical
Matrix
rotation
array-rearrange
Java Programs
DSA
C++ Program to Rotate all Matrix elements except the diagonal K times by 90 degrees in clockwise direction
Given a square matrix mat[][] of dimension N and an integer K, the task is to rotate the matrix by 90 degrees K times without changing the position of the diagonal element...
Read More
Greedy
Mathematical
Matrix
rotation
array-rearrange
C++
C++ Programs
DSA
Javascript Program To Find The Sum Of Last N Nodes Of The Given Linked List
Given a linked list and a number n. Find the sum of the last n nodes of the linked list.Constraints: 0 n Examples: Input : 10->6->8->4->12, n = 2Output : 16Sum of last tw...
Read More
Linked List
Web Technologies
JavaScript
JavaScript-DSA
Python Program To Find The Sum Of Last N Nodes Of The Given Linked List
Given a linked list and a number n. Find the sum of the last n nodes of the linked list.Constraints: 0 = n = number of nodes in the linked list.Examples:Input: 10-6-8-4-12...
Read More
Linked List
Python Programs
Python-Data-Structures
DSA
Java Program To Find The Sum Of Last N Nodes Of The Given Linked List
Given a linked list and a number n. Find the sum of the last n nodes of the linked list.Constraints: 0 = n = number of nodes in the linked list.Examples:Input: 10-6-8-4-12...
Read More
Linked List
Java Programs
DSA
C++ Program To Find The Sum Of Last N Nodes Of The Given Linked List
Given a linked list and a number n. Find the sum of the last n nodes of the linked list.Constraints: 0 = n = number of nodes in the linked list.Examples:Input: 10-6-8-4-12...
Read More
Linked List
C++ Programs
DSA
Meteor Templates
Meteor is a full-stack JavaScript platform that is used for developing modern web and mobile applications. Meteor has a set of features that are helpful in creating a resp...
Read More
Web Technologies
JavaScript
Picked
Meteor
WordPress Delete Tags
WordPress is an open-source Content Management System that is totally based on PHP and MySql which is used to create a dynamic website. Matt Mullenweg developed WordPress ...
Read More
Web Technologies
Picked
PHP
Wordpress
PHP-Questions
Wordpress-Tags
Meteor Timers
Meteor is a full-stack JavaScript platform that is used for developing modern web and mobile applications. Meteor has a set of features that are helpful in creating a resp...
Read More
Web Technologies
JavaScript
Picked
Meteor
1
...
4749
4750
4751
...
11217