Skip to content
Tutorials
Python Tutorial
Taking Input in Python
Python Operators
Python Data Types
Python Numbers
Python String
Python Lists
Python Tuples
Sets in Python
Python Dictionary
Python Loops and Control Flow
Python Conditional Statements
Python Loops
Python Functions
Python OOPS Concept
Python Data Structures
Python DSA
Linked List
Stack
Queue
Tree
Heap
Hashing
Graph
Sets
Map
Advance Data Structure
Sorting Algorithms
Searching Algorithms
Python Exception Handling
Python File Handling
Python Exercises
Python List Exercise
Python String Exercise
Python Tuple Exercise
Python Dictionary Exercise
Python Set Exercise
Python Design Patterns
Python Programming Examples
Python Practice Questions
Java
Java Programming Language
Java Tutorial
Data Types
Variables
Operators
Flow Control in Java
Loops in Java
Methods
Strings
Arrays
OOPs Concepts
OOPs Concepts
Classes and Objects
Access Modifiers
Inheritance
Abstraction
Encapsulation
Polymorphism
Interface
Packages
Multithreading
File Handling
Regular Expression
Java Collections
Java Collections
Collection Class
List Interface
ArrayList
LinkedList Class
Queue Interface
Set Interface
HashSet Class
Map Interface
HashMap Class
HashTable Class
Iterator
Comparator
Collection Interview Questions
Java 8 Tutorial
Java Programs
Java Programming Examples
Java Array Programs
Java String Programs
Java Date-Time Programs
Java File Handling Programs
Java Collection Programs
Java JDBC Programs
Java Apache POI Programs
Java OpenCV Programs
Java Interview Questions
Java Interview Questions
Core Java Interview Questions-Freshers
Java Multithreading Interview Questions
OOPs Interview Questions and Answers
Java Exercises
Java Quiz
Java Quiz
Core Java MCQ
Java Projects
Advance Java
Spring Tutorial
Spring Boot Tutorial
Spring Boot Interview Questions
Spring MVC Tutorial
Spring MVC Interview Questions
Hibernate Tutorial
Hibernate Interview Questions
Programming Languages
C
C++
JavaScript
PHP
R Tutorial
C#
SQL
Scala
Perl
Go Language
Kotlin
System Design
System Design Tutorial
What is System Design
Key Terminologies in System Design
Analysis and Architecture of Systems
Scalability in System Design
Databases in System Design
High Level Design or HLD
Low Level Design or LLD
Case Studies in Designing Systems
Complete System Design Tutorial
Software Design Patterns
System Design Roadmap
Top 10 System Design Interview Questions and Answers
Interview Corner
Company Preparation
Top Topics
Practice Company Questions
Interview Experiences
Experienced Interviews
Internship Interviews
Competitive Programming
Multiple Choice Quizzes
Aptitude for Placements
Computer Science Subjects
Operating System
DBMS
Computer Networks
Engineering Mathematics
Computer Organization and Architecture
Theory of Computation
Compiler Design
Digital Logic
Software Engineering
DevOps
GIT
AWS
Docker
Kubernetes
Microsoft Azure Tutorial
Google Cloud Platform
Linux
Linux Tutorial
Linux Commands A-Z
Linux Commands Cheatsheet
File Permission Commands
Linux System Administration
Linux File System
Linux Shell Scripting
Linux Networking
Linux Interview Questions
Software Testing
Software Testing Tutorial
Software Engineering Tutorial
Testing Interview Questions
Jira
Databases
DBMS Tutorial
SQL Tutorial
PostgreSQL Tutorial
MongoDB Tutorial
SQL Interview Questions
MySQL Interview Questions
PL/SQL Interview Questions
Android
Android Tutorial
Android Studio Tutorial
Kotlin For Android
Android Projects
Android Interview Questions
6 Weeks of Android App Development
Excel
MS Excel Tutorial
Introduction to MS Excel
Data Analysis in Excel
Basic Excel Formulas & Functions
Data Analysis in Advanced Excel
Workbooks
Statistical Functions
Data Visualization in Excel
Pivot Tables in Excel
Excel Spreadsheets in Python
Basic Excel Shortcuts
Mathematics
Number System
Algebra
Linear Algebra
Trigonometry
Set Theory
Statistics
Probability
Geometry
Mensuration
Logarithms
Calculus
Commerce
Business Studies
Accountancy
Microeconomics
Statistics for Economics
Macroeconomics
Human Resource Management (HRM)
Management
Finance
Commerce Complete Guide
Aptitude
Aptitude Question and Answers
Quantitative Aptitude
Logical Reasoning
Verbal Ability
DSA
Data Structures
Arrays
Matrix
Strings
Linked List
Singly Linked List
Doubly Linked List
Circular Linked List
Doubly Circular Linked List
Linked List Tutorial
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
Design and Analysis of Algorithms
Asymptotic Analysis
Asymptotic Notations
Worst, Average and Best Cases
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
DSA Tutorial
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
Top 50 Array Problems
Top 50 String Problems
Top 50 DP Problems
Top 50 Graph Problems
Top 50 Tree Problems
Competitive Programming
Company Wise SDE Sheets
Facebook SDE Sheet
Amazon SDE Sheet
Apple SDE Sheet
Netflix SDE Sheet
Google SDE Sheet
DSA Cheat Sheets
SDE Sheet
DSA Sheet for Beginners
FAANG Coding Sheet
Product-Based Coding Sheet
Company-Wise Preparation Sheet
Top Interview Questions
Top 100 DSA Interview Questions Topic-wise
Puzzles
All Puzzles
Top 100 Puzzles Asked In Interviews
Top 20 Puzzles Commonly Asked During SDE Interviews
Data Science
Python Tutorial
R Tutorial
Machine Learning
Data Science using Python
Data Science using R
Data Science Packages
Pandas Tutorial
NumPy Tutorial
Data Visualization
Python Data Visualization Tutorial
Data Visualization with R
Data Analysis
Data Analysis with Python
Data Analysis with R
Deep Learning
NLP Tutorial
Web Tech
HTML Tutorial
CSS Tutorial
JavaScript Tutorial
PHP Tutorial
ReactJS Tutorial
NodeJS Tutorial
AngularJS Tutorial
Bootstrap Tutorial
Typescript
Web Development Using Python
Django
Django Tutorial
Django Projects
Django Interview Questions
Flask
Flask Tutorial
Flask Projects
Flask Interview Questions
Postman
Github
Wordpress Tutorial
Web Design
Cheat Sheets
HTML Cheat Sheet
CSS Cheat Sheet
JavaScript Cheat Sheet
React Cheat Sheet
Angular Cheat Sheet
jQuery Cheat Sheet
Bootstrap Cheat Sheet
JavaScript Projects
Learn Complete Web Development
Courses
Coding for Everyone
DSA to Development
Machine Learning & Data Science
Generative AI & ChatGPT
Become AWS Certified
DSA Courses
Data Structure & Algorithm(C++/JAVA)
Data Structure & Algorithm(Python)
Data Structure & Algorithm(JavaScript)
Programming Languages
CPP
Java
Python
JavaScript
C
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
▲
Similar Topics
DSA
22.1k+ articles
Mathematical
7.7k+ articles
Competitive Programming
2.2k+ articles
Greedy
2k+ articles
Sorting
1.7k+ articles
Java - util package
1.6k+ articles
Linked List
1.1k+ articles
Java-Arrays
120+ articles
CSES Problems
100+ articles
HashSet
66 articles
DSA
>
Data Structures
>
Set
Set
16 posts
Popular Articles
Recent Articles
CSES Solutions - Minimum Euclidean Distance
Last Updated: 28 March 2024
Given a set of points in the two-dimensional plane, your task is to find the minimum Euclidean distance between two distinct points.The Eucl
...read more
Geometric
Competitive Programming
Picked
DSA
Set
CSES Problems
CSES Solutions - Traffic Lights
Last Updated: 22 March 2024
There is a street of length X whose positions are numbered 0,1 ... X. Initially there are no traffic lights, but N sets of traffic lights ar
...read more
Sorting
Competitive Programming
Picked
DSA
Set
CSES Problems
CSES Solutions - Movie Festival II
Last Updated: 01 April 2024
In a movie festival, N movies will be shown. Syrjälä's movie club consists of K members, who will all be attending the festival. Given the
...read more
Sorting
Competitive Programming
Picked
DSA
Set
CSES Problems
Similar Topics
DSA
22.1k+ articles
Mathematical
7.7k+ articles
Competitive Programming
2.2k+ articles
Greedy
2k+ articles
Sorting
1.7k+ articles
Java - util package
1.6k+ articles
Linked List
1.1k+ articles
Java-Arrays
120+ articles
CSES Problems
100+ articles
HashSet
66+ articles
CSES Solutions - Distinct Numbers
Last Updated: 01 May 2024
You are given a list of N integers arr[], and your task is to calculate the number of distinct values in the list.Examples: Input: N = 5, ar
...read more
Competitive Programming
Picked
DSA
Set
CSES Problems
Check if the given input contains Duplicates
Last Updated: 13 May 2024
Given an integer array nums, return true if any value appears at least twice in the array, and return false if every element is distinct.Exa
...read more
cpp-unordered_set
Picked
DSA
Set
Number of K-Spikes in Stock Price Array
Last Updated: 12 May 2024
Given the changes to stock price over a period of time as an array of distinct integers, count the number of spikes in the stock price which
...read more
SAP-Labs-Question
Suffix-Array
prefix
DSA
Set
Longest Continuous Sequence with difference K in Linked List
Last Updated: 11 October 2023
Given a linked list and given an integer K, the task is to find the length of the longest continuous sequence in a linked list that has a di
...read more
Linked List
Hash
HashSet
Data Structures-Linked List
DSA
Set
Find Kth Largest/Smallest element in a Queue
Last Updated: 20 July 2023
Given a queue of integers and an integer K, our task is to write a program that efficiently finds Kth largest/smallest element present in th
...read more
Queue
Data Structures-Queue
Picked
DSA
Set
Partition Array for unique second half
Last Updated: 26 April 2023
Given an array arr[] having n integers, divide the array into two halves, such that all elements in the array's second half are unique eleme
...read more
Greedy
HashSet
DSA
Set
Map
Two nodes in a Linked list whose product is equal to the target value
Last Updated: 12 July 2023
Given a head of a singly linked list and a target value. The task is to find whether there exist any two nodes in the linked list whose prod
...read more
Linked List
DSA
Set
Find minimum number of Substrings with unique characters
Last Updated: 19 April 2023
Given string 's', the task is to divide a given string s into multiple substrings, with each substring containing only unique characters. Th
...read more
Strings
Greedy
Greedy Algorithms
substring
DSA
Set
Introduction to Set – Data Structure and Algorithm Tutorials
Last Updated: 06 June 2024
Set Data Structure is a type of data structure which stores a collection of distinct elements. In this article, we will provide a complete
...read more
Data Structures
DSA
Set
Help geek to Avoid explosion
Last Updated: 05 April 2023
Geek is a chemical scientist who is performing an experiment to find an antidote to a poison. The experiment involves mixing some solutions
...read more
disjoint-set
DSA
Set
Program to convert Array to Set in Java
Last Updated: 19 April 2023
Array is a group of like-typed variables that are referred to by a common name. An array can contain primitives data types as well as object
...read more
Arrays
Java
Java - util package
Java-Arrays
Java Programs
java-set
Java-Array-Programs
Java-Set-Programs
DSA
Set
Efficiently design Insert, Delete and Median queries on a set
Last Updated: 28 September 2021
Given an empty set initially and a number of queries on it, each possibly of the following types:Insert - Insert a new element ‘x’.Delet
...read more
Mathematical
DSA
Set
1
2
>>
Last
1
2
>>
Last
1
2
>>
Last
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 !