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
Distribute M objects starting from Sth person such that every ith person gets arr[i] objects
Given an array arr[] consisting of N integers (1-based indexing) and two integers M and S, the task is to distribute M objects among N persons, starting from the position ...
Read More
Arrays
Algorithms
Mathematical
DSA
Print modified array after performing queries to add (i - L + 1) to each element present in the range [L, R]
Given an array arr[] consisting of N 0s (1-based indexing) and another array query[], with each row of the form {L, R}, the task for each query (L, R) is to add a value of...
Read More
Arrays
Algorithms
prefix-sum
array-range-queries
DSA
Queries to calculate sum of squares of array elements over range of indices [L, R] with updates
Given an Array arr[] of positive integers of size n. We are required to perform following 3 queries on given array -1) Given L and R, we have to find the sum of squares of...
Read More
Arrays
Tree
Mathematical
Advanced Data Structure
Segment-Tree
array-range-queries
DSA
Convert given Complex Numbers into polar form and perform all arithmetic operations
Given two Complex Numbers Z1 and Z2 in the Cartesian form, the task is to convert the given complex number into polar form and perform all the arithmetic operations ( addi...
Read More
Algorithms
Mathematical
Geometric
Numbers
DSA
Amazon Web Services - Creating a User Pool in AWS Cognito
A User pool in AWS Cognito is a user directory, which helps users to sign in to your web or mobile app through AWS Cognito. Users can also sign in through other social pla...
Read More
Cloud-Computing
Amazon Web Services
DevOps
How to Block or Disable Normal User Logins in Linux?
Here we will see how to block or disable normal user logins in Linux. This is a good idea to prevent Normal users from connecting to your system. We will see how to block ...
Read More
Linux-Unix
Picked
How To
How to Install and Use Scout_Realtime to Monitor Server and Process Metrics in Linux?
There are numerous free tools on Linux that are used to monitor the Linux system including hardware and software. We all may have already come across some command-line Lin...
Read More
Linux-Unix
Picked
How To
Installation Guide
how-to-install
How to Find openSUSE Linux Version?
openSUSE is well known for its GNU/Linux-based operating systems, mainly Tumbleweed, a tested rolling release, and Leap, a distribution with Long-Term-Support(LTS). MicroO...
Read More
Linux-Unix
Picked
How To
Sum of squares of differences between all pairs of an array
Given an array arr[] of size N, the task is to compute the sum of squares of differences of all possible pairs.Examples:Input: arr[] = {2, 8, 4}Output: 56Explanation:Sum o...
Read More
Arrays
Mathematical
DSA
Rearrange array elements to maximize the sum of MEX of all prefix arrays
Given an array arr[] of size N, the task is to rearrange the array elements such that the sum of MEX of all prefix arrays is the maximum possible.Note: MEX of a sequence i...
Read More
Arrays
Sorting
Mathematical
prefix
DSA
MEX (Minimal Excluded)
Smallest number which is not coprime with any element of an array
Given an array arr[] size N, the task is to find the smallest number which is not co-prime with any element of the given array.Examples:Input: arr[] = {3, 4, 6, 7, 8, 9, 1...
Read More
Arrays
Mathematical
Prime Number
HCF
DSA
How to Speed Up Gradle build in Android Studio?
Gradle is one of the most important files or extensions that are present in the Android Project. Gradle handles all the libraries and application IDs and many important co...
Read More
Picked
Android
Android-Studio
How to Update/Change Email from Firebase in Android?
In any app, we got a feature to login using our email and password. Sometimes it happens that we want to change our email or we lost the password of our previous email so ...
Read More
Java
Android
Firebase
Different Ways to fix "Error running android: Gradle project sync failed" in Android Studio
Gradle is one of the most important components of Android apps. It handles all the backend tasks and manages all the external dependencies which we will be going to use in...
Read More
Picked
Android
Android-Studio
Different Ways to fix "DELETE_FAILED_INTERNAL_ERROR" Error while Installing APK in Android Studio
In Android Studio when building a new APK or while installing an application from Android Studio. You will get to see errors as shown in the title such as "DELETE FAILED I...
Read More
Picked
Android
Android-Studio
1
...
6099
6100
6101
...
11195