Skip to content
Courses
DSA to Development
Coding for Everyone
For Working Professionals
Interview 101: DSA & System Design
Data Science Training Program
JAVA Backend Development (Live)
DevOps Engineering (LIVE)
Software Testing & Automation (Live)
Data Structures & Algorithms in Python
For Students
Interview Preparation Course
Data Science (Live)
Data Structure & Algorithm-Self Paced (C++/JAVA)
Master Competitive Programming (Live)
Full Stack Development with React & Node JS (Live)
GATE Exam Courses
GATE CS & IT
GATE DA & AI
GATE Classroom Course (NCR)
For School Students
CBSE Class 12 Computer Science
School Guide
Python Programming Foundation
All Courses
Tutorials
Data Structures & Algorithms
DSA for Beginners
Data Structures
Arrays
Matrix
Strings
Linked List
Stack
Queue
Tree
Generic Tree
Binary Tree
Binary Search Tree
AVL Tree
B Tree
B+ Tree
Red Black Tree
Tree Data Structure Tutorial
Heap
Hashing
Graph
Set Data Structure
Map Data Structure
Advanced Data Structure
Data Structures Tutorial
Algorithms
Analysis of Algorithms
Searching Algorithms
Linear Search
Binary Search
Searching Algorithms Tutorial
Sorting Algorithms
Selection Sort
Bubble Sort
Insertion Sort
Merge Sort
Quick Sort
Heap Sort
Counting Sort
Radix Sort
Bucket Sort
Sorting Algorithms Tutorial
Greedy Algorithms
Dynamic Programming
Graph Algorithms
Pattern Searching
Recursion
Backtracking
Divide and Conquer
Mathematical Algorithms
Geometric Algorithms
Bitwise Algorithms
Randomized Algorithms
Branch and Bound
Algorithms Tutorial
Complete DSA Tutorial
Competitive Programming
Company Wise SDE Sheets
Facebook SDE Sheet
Amazon SDE Sheet
Apple SDE Sheet
Netflix SDE Sheet
Google SDE Sheet
Wipro Coding Sheet
Infosys Coding Sheet
TCS Coding Sheet
Cognizant Coding Sheet
HCL Coding Sheet
DSA Cheat Sheets
DSA Sheet for Beginners
SDE Sheets
FAANG Coding Sheet
Love Babbaar Sheet
Mass Recruiter Sheet
Product-Based Coding Sheet
Company-Wise Preparation Sheet
Top 100 DSA Interview Questions Topic-wise
100 Days of Code
Python
Python Tutorial
Python Exercises
Python List Exercise
Python String Exercise
Python Tuple Exercise
Python Dictionary Exercise
Python Set Exercise
Python Excercises Top wise
Python Quiz
Python Programs
Advanced Python Tutorial
Python API Tutorial
Python Database Tutorial
Python JSON
Python Cheat Sheet
Python Projects
Python Interview Questions
ML & Data Science
Machine Learning
Machine Learning Tutorial
Maths for ML
ML Projects
100 Days of Machine Learning
Data Science Tutorial
Data Science Packages
Pandas Tutorial
NumPy Tutorial
Data Visualization
Data Visualization with Python
Data Visualization with R
Tableau
Power BI
Data Analysis
Data Analysis with Python
Data Analysis with R
100 Days of Data Analytics
Deep Learning
NLP Tutorial
OpenCV Tutorial
Interview Questions
Machine Learning Interview Questions
Deep Learning Interview Questions
R Interview Questions
System Design
System Design Tutorial
Software Design Patterns
System Design Roadmap
Top 10 System Design Interview Questions
Interview Corner
Company Preparation
Top Topics
Practice Company Questions
Interview Experiences
Experienced Interviews
Internship Interviews
Competitive Programming
Multiple Choice Quizzes
Aptitude for Placements
Puzzles for Interviews
Languages
C
C++
Java
Python
R Tutorial
C#
SQL
Scala
Perl
Go Language
Web Development
HTML
HTML Tutorial
Free HTML Course
HTML Cheat Sheet
CSS
CSS Tutorial
Free CSS Course
CSS Cheat Sheet
JavaScript
JavaScript Tutorial
JavaScript Questions
JavaScript Cheat Sheet
DSA using JavaScript
Free JavaScript Course
JavaScript A to Z Complete Guide
TypeScript
ReactJS
ReactJS Tutorial
Free ReactJS Course
ReactJS Cheat Sheet
NextJS
Node.js
PHP
PHP Tutorial
Free PHP Course
PHP Programming Examples
AngularJS
jQuery
jQuery Tutorial
jQuery Cheat Sheet
Web Development Using Python
Django
Flask
Selenium
Postman
Github
Web Design
100 Days of Web Development
CS Subjects
Engineering Mathematics
Operating System
DBMS
Computer Networks
Computer Organization and Architecture
Theory of Computation
Compiler Design
Digital Logic
Software Engineering
DevOps
DevOps Tutorial
GIT
AWS
Kubernetes
Docker
Microsoft Azure Tutorial
Google Cloud Platform
DevOps Roadmap
DevOps Interview Questions
Linux
Linux Tutorial
Linux Commands A-Z
Linux Commands Cheatsheet
File Permissions in Linux
Linux System Administration
Linux File System
Linux Shell Scripting
Linux Networking
Linux Interview Questions
School Learning
Maths Notes (Class 8-12)
Class 8 Notes
Class 9 Notes
Class 10 Notes
Class 11 Notes
Class 12 Notes
Physics Notes (Class 8-12)
Class 8 Notes
Class 9 Notes
Class 10 Notes
Class 11 Notes
Class 12 Notes
Chemistry Notes (Class 8-12)
Class 8 Notes
Class 9 Notes
Class 10 Notes
Class 11 Notes
Class 12 Notes
Biology Notes (Class 8-12)
Class 8
Class 9
Class 10
Class 11
Class 12
Science Notes(Class 8-10)
Class 8 Notes
Class 9 Notes
Class 10 Notes
Social Science Notes(Class 7-10)
Class 7 Notes
Class 8 Notes
Class 9 Notes
Class 10 Notes
English Grammar
CBSE Syllabus(Class 8-12)
Class 8 Syllabus
Class 9 Syllabus
Class 10 Syllabus
Class 11 Syllabus
Class 12 Syllabus
Commerce
Business Studies
Class 11th Notes
Class 12th Notes
Business Studies Complete Guide
Accountancy
Class 11th Notes
Class 12th Notes
Accountancy Complete Guide
Microeconomics
Class 11th Notes
Microeconomics Complete Guide
Statistics for Economics
Class 11th Notes
Statistics for Economics Complete Guide
Macroeconomics
Class 12th notes
Macroeconomics Complete Guide
Indian Economic Development
Class 12th Notes
Indian Economic Development Complete Guide
Human Resource Management (HRM)
Management
Income Tax
Finance
Commerce Complete Guide
GATE
GATE Computer Science Notes
Last Minute Notes
GATE CS Solved Papers
GATE CS Original Papers and Official Keys
GATE CS 2025 Syllabus
GATE DA 2025 Syllabus
Other CS Exams
ISRO
UGC NET
UPSC and SSC/Banking
UPSC Study Material
Banking Exams Study Material
SBI Clerk
SBI PO
IBPS Clerk
IBPS PO
SSC CGL Study Material
GeeksforGeeks Videos
Jobs
Get Hired: Apply for Jobs
Corporate Hiring Solutions
Latest Job Updates
Practice
All DSA Problems
Problem of the Day
Company Wise Coding Practice
Amazon
Microsoft
Flipkart
Explore All
GfG SDE Sheet
Practice Problems Difficulty Wise
School
Basic
Easy
Medium
Hard
Language Wise Coding Practice
CPP
Java
Python
Curated DSA Lists
Beginner's DSA Sheet
Love Babbar Sheet
Top 50 Array Problems
Top 50 String Problems
Top 50 DP Problems
Top 50 Graph Problems
Top 50 Tree Problems
Contests
Job-A-Thon Hiring Challenge
Get Internship via GfG Weekly
TOEFL India Championship
All Contests and Events
Home
Saved Videos
Courses
Data Structures and Algorithms
DSA Tutorial
Data Structures Tutorial
Algorithms Tutorial
Top 100 DSA Interview Questions
DSA-Roadmap[Basic-to-Advanced]
ML & Data Science
Learn Python
Data Science Tutorial
Machine Learning Tutorial
Deep Learning Tutorial
NLP Tutorial
Computer Vision Tutorial
Web Development
HTML Tutorial
CSS Tutorial
JavaScript Tutorial
ReactJS Tutorial
NodeJS Tutorial
Languages
C
C++
Java
R Tutorial
Golang
Interview Corner
Company Interview Corner
Experienced Interviews
Internship Experiences
Practice Company Questions
Competitive Programming
CS Subjects
Operating Systems
DBMS
Computer Networks
Software Engineering
Software Testing
Jobs
Get Hired: Apply for Jobs
Job-a-thon: Hiring Challenge
Corporate Hiring Solutions
Practice
All DSA Problems
Problem of the Day
GFG SDE Sheet
Beginner's DSA Sheet
Love Babbar Sheet
Top 50 Array Problems
Top 50 String Problems
Top 50 DP Problems
Top 50 Graph Problems
Top 50 Tree Problems
Contests
World Cup Hack-A-Thon
GFG Weekly Coding Contest
Job-A-Thon: Hiring Challenge
BiWizard School Contest
All Contests and Events
GBlog
Puzzles
What's New ?
Change Language
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
Videos
Explore
22:53
Positioning Elements in CSS
18/04/2024
129:10
Objects in JavaScript | Web Development
18/04/2024
65:22
Server static files and logger app | Fork Node JS
18/04/2024
75:03
Project-Weather API Web Page | Fork Node JS | Web Development
18/04/2024
84:13
Nodejs File Modules | Fork Node JS | Web Development
18/04/2024
71:15
Nodejs Packages | Fork Node JS | Web Development
18/04/2024
25:11
Adjusting the background, opacity and border radius of elements | Web Development
18/04/2024
16:59
All About Hex codes and RGB Values | Web Design
18/04/2024
71:48
Build your own Portfolio Website | Web Development
18/04/2024
22:27
Mobile number verification using OTP | Firebase Authentication
18/04/2024
Counts 1s that can be obtained in an Array by performing given operations
Basic
Given an array arr[] of size N consisting of only of 0s initially, the task is to count the number of 1s that can be…
Read More
array-rearrange
maths-perfect-square
Arrays
DSA
Greedy
Mathematical
Sorting
Maximum Sum Subsequence
Easy
Given an array arr[] of size N, the task is to find the maximum sum non-empty subsequence present in the given array. Examples: Input: arr[]…
Read More
Numbers
subsequence
Arrays
DSA
Greedy
Mathematical
Searching
Maximize maximum possible subarray sum of an array by swapping with elements from another array
Given two arrays arr[] and brr[] consisting of N and K elements respectively, the task is to find the maximum subarray sum possible from the…
Read More
array-rearrange
subarray
subarray-sum
Arrays
DSA
Mathematical
Sorting
Longest increasing sequence possible by the boundary elements of an Array
Given an array arr[] of length N consisting of positive integers, the task is to find the longest increasing subsequence that can be formed by…
Read More
subsequence
two-pointer-algorithm
Arrays
DSA
Mathematical
Searching
Minimize swaps of adjacent characters to sort every possible rearrangement of given Binary String
Given a binary string S of length N consisting of 0s, 1s, and “?”, where “?” can be replaced by either 0 or 1, the…
Read More
binary-string
combinatorics
Combinatorial
DSA
Dynamic Programming
Mathematical
Strings
Median of Bitwise XOR of all submatrices starting from the top left corner
Medium
Given a 2D matrix mat[][] of size N * M, the task is to find the median of Bitwise XOR of all possible submatrices from…
Read More
array-range-queries
Bitwise-XOR
Bit Magic
DSA
Dynamic Programming
Mathematical
Matrix
Sum of floor division of all pairs from given array
Expert
Given an array arr[] of size N, the task is to find the sum of the floor value of (arr[i] / arr[j]) for all pairs…
Read More
frequency-counting
Infosys
interview-preparation
prefix-sum
Arrays
DSA
Mathematical
Searching
Technical Scripter
Quick Links
GfG Contests
Courses at GeeksforGeeks
Write an Article
Java Tutorial
Python Tutorial
Data Structures Tutorial
Coding Practice
Evaluate the expression ( N
1
* (N – 1)
2
* … * 1
N
) % (10
9
+ 7)
Medium
Given an integer N, the task is to find the value of the expression ( N1 * (N – 1)2 * … * 1N) %…
Read More
factorial
Modular Arithmetic
series
Technical Scripter 2020
DSA
Mathematical
Technical Scripter
How HashTable Works Internally in Java?
Basic
Hashtable is a kind of Hash map but is synchronized. Hash map is non–synchronized, permits one null key & multiple null values, not-thread safe i.e.…
Read More
Java-HashTable
Picked
Java
Top 7 Data Analytics Trends for 2021
Without data analytics, companies are blind and deaf! This is absolutely true in today’s world where data analytics allows companies to understand their market better…
Read More
Data Analytics
data-science
Gblog-2021
GBlog
Adobe Shecodes Product Interview Experience for Internship (2020)
Basic
Round 1 (Online Test): The first round was cocubes assessment and below is the test pattern: Cognitive: 30 Questions, 30 minComputer Fundamental: 20 Questions, 20…
Read More
Adobe
Experiences
Internship
Interview Experiences
Minimize difference between the largest and smallest array elements by K replacements
Hard
Given an array A[] consisting of N integers, the task is to find the minimum difference between the largest and the smallest element in the…
Read More
array-rearrange
Heap Sort
priority-queue
Arrays
DSA
Greedy
Heap
Mathematical
Sorting
How to change angle of 3D plot in Python?
Expert
Prerequisites: Matplotlib, NumPy In this article, we will see how can we can view our graph from different angles, Here we use three different methods…
Read More
Picked
Python-matplotlib
Python
How to Change the Whole App Language in Android Programmatically?
Android 7.0(API level 24) provides support for multilingual users, allowing the users to select multiple locales in the setting. A Locale object represents a specific…
Read More
android
Technical Scripter 2020
Android
Java
Technical Scripter
How to insert values into MySQL server table using Python?
Basic
Prerequisite: Python: MySQL Create Table In this article, we are going to see how to get the size of a table in MySQL using Python.…
Read More
Picked
Python-mySQL
Python
Page 6,539 of 12,075
« First
«
...
10
20
30
...
6,537
6,538
6,539
6,540
6,541
...
6,550
6,560
6,570
...
»
Last »
248k+ interested Geeks
Data Structures & Algorithms in Python - Self Paced
Explore
177k+ interested Geeks
Python Programming Foundation - Self Paced
Explore
30k+ interested Geeks
Data Structures & Algorithms in JavaScript - Self Paced
Explore
Quick Links
GfG Contests
Courses at GeeksforGeeks
Write an Article
Java Tutorial
Python Tutorial
Data Structures Tutorial
Coding Practice
Featured Articles
View All
Three 90 Challenge: Bigger and Better
March 24, 2024
Full Stack Developer Roadmap [2024 Updated]
March 21, 2024
Complete DevOps Roadmap – Beginner to Advanced
March 20, 2024
100 Days of Machine Learning – A Complete Guide For Beginners
March 19, 2024
Recommended
Guest Blogs
Must Do Coding Questions Company-wise
Practice for cracking any coding interview
Placements
Complete Interview Preparation - Self Paced
GATE Computer Science Notes
Machine Learning
Django Tutorial
Computer Science Projects
Amazon SDE Test Series
Company Interview Corner
The C++ Standard Template Library (STL)
Software Design Patterns
SQL Tutorial
Advanced Data Structures
We use cookies to ensure you have the best browsing experience on our website. By using our site, you acknowledge that you have read and understood our
Cookie Policy
&
Privacy Policy
Got It !