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 If Else
Python For Loops
Python While Loops
Python Breaks
Python Continue Statement
Python Pass Statement
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
Operators in Java
Arithmetic Operators
Unary Operators
Assignment Operators
Relational Operators
Logical Operators
Ternary Operators
Flow Control in Java
Flow Control
if Statement
if-else Statement
if-else-if Ladder
Continue Statement
Break Statement
Return Statement
Loops in Java
Loops
do-while Loop
For Loop
For-each Loop
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
Vector Class
Stack Class
LinkedList Class
Queue Interface
Set Interface
HashSet Class
TreeSet
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
Communication Protocols
Web Servers and Proxies
Case Studies in Designing Systems
Complete System Design Tutorial
Software Design Patterns
Factory Pattern
Observer Pattern
Singleton Design Pattern
Decorator Pattern
Strategy Pattern
Adapter Pattern
Command Pattern
Iterator Pattern
Prototype Design Pattern
All 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
Mathematics
Operating System
DBMS
Computer Networks
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
25 Basic Linux Commands
File Mangement in Linux
File Permission Commands
chmod Command
chown Command
chgrp Command
unmask Command
Linux System Administration
Linux File System
Linux Shell Scripting
Linux Networking
Linux Firewall
Linux Interview Questions
Software Testing
Software Testing Tutorial
Software Testing Tutorial
What is Software Testing
Principles of Software Testing
Types of Software Testing
Levels of Software Testing
Automation Testing
Manual Testing
Testing Tools
Software Testing Tools
Defect Testing Tools
Cross-Browser Testing Tools
Integration Testing Tool
Unit Testing Tools
Mobile Testing Tools
GUI Testing Tool
Security Testing Tools
Penetration Testing Tools
Selenium
Selenium Tutorial
Selenium Basics
Selenium Python
Jira
Jira Tutorial
JIRA Installation
JIRA Login
JIRA Dashboard
Software Engineering
Software Engineering Tutorial
Software Development Life Cycle (SDLC)
Software Characteristics
Software Quality
Waterfall Model
Iterative Waterfall Model
Spiral Model
Prototyping Model
Incremental Process Model
Interview Questions
Software Testing Interview Questions
Automation Testing Interview Questions
Manual Testing Interview Questions
Software Engineering Interview Questions
Penetration Testing Interview Questions
API Testing Interview Questions
Postman
Postman Tutorial
Postman for API Development
Download and Install Postman
API Testing Using Postman
Generate HTML Report for Postman
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
Income Tax
Finance
Commerce Complete Guide
SEO-Search Engine Optimization
What is SEO
Search Engine Optimization Basics
Types of SEO
Keyword Optimization in SEO
Backlinks in SEO
SEO Blogs
Mobile SEO
SEO Complete Reference
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
Web Development Using Python
Django
Getting started with Django
Create an App in Django
Views In Django
Django Templates
Django URL patterns
Django Admin Interface
Django Models
MySQL Databased with Django
Django CRUD
Django Forms
Django Static File
Projects for Beginners
Django Tutorial
Flask
Web Development Using Flask
Flask App Routing
URL building in Flask
Flask Templates
Templating With Jinja2 in Flask
Flask Model
Database with Flask SQL Alchemy
Authentication with Flask
WTForms in Flask
Static files in Flask
Python Flask Projects
Flask Interview Questions
Frontend Projects
Building a Survey Form using HTML and CSS
Food delivery system using HTML and CSS
ToDo webapp using Django
Building Blog CMS
Add Pagination in Django
Tailwind CSS with Django
Django with Reactjs
Postman
Github
JSON Tutorial
TypeScript Tutorial
Wordpress Tutorial
Web Design
Web Browsers
Google Chrome
Mozilla Firefox
Apple Safari
Microsoft Edge
Tor
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
File Formats
Courses
Coding for Everyone
DSA to Development
Machine Learning and Data Science
DSA Courses
Data Structure & Algorithm(C++/JAVA)
Data Structure & Algorithm(Python)
Data Structure & Algorithm(JavaScript)
Programming Languages
CPP
Java
Python
JavaScript
C
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
▲
Similar Topics
DSA
21.8k+ articles
Java
10.2k+ articles
Mathematical
7.7k+ articles
Arrays
6.3k+ articles
Java-Functions
4.2k+ articles
Java Programs
2k+ articles
Java - util package
1.6k+ articles
Hash
1.2k+ articles
Java-Collections
1.1k+ articles
frequency-counting
730+ articles
Java-HashMap
140+ posts
Popular Articles
Recent Articles
Converting ArrayList to HashMap using Method Reference in Java 8
Last Updated: 07 January 2021
Data Structures are a boon to everyone who codes. But is there any way to convert a Data Structure into another? Well, it seems that there i
...read more
Java
Java-Collections
Java Programs
Java-ArrayList
Java-HashMap
Picked
Java 8
Creating HashMap from Other Maps in Java
Last Updated: 15 November 2021
Map interface present in java.util package represents a mapping between a key and a value. The Map interface is not a subtype of the Collect
...read more
Java
Java-Collections
Java Programs
Java-HashMap
Picked
Converting ArrayList to HashMap in Java 8 using a Lambda Expression
Last Updated: 17 August 2021
A lambda expression is one or more line of code which works like function or method. It takes a parameter and returns the value. Lambda expr
...read more
Java
Technical Scripter
Java Programs
Java-ArrayList
Java-HashMap
Picked
java-lambda
Java 8
Technical Scripter 2020
Similar Topics
DSA
21.8k+ articles
Java
10.2k+ articles
Mathematical
7.7k+ articles
Arrays
6.3k+ articles
Java-Functions
4.2k+ articles
Java Programs
2k+ articles
Java - util package
1.6k+ articles
Hash
1.2k+ articles
Java-Collections
1.1k+ articles
frequency-counting
730+ articles
Java Program to Sort a HashMap by Keys and Values
Last Updated: 08 June 2021
HashMapK, V is a Java Collection and is a part of java.util package. It provides the basic implementation of the Map interface of Java. It s
...read more
Java
Technical Scripter
Java Programs
Java-HashMap
Picked
Difference Between EnumMap and HashMap
Last Updated: 24 November 2022
EnumMap and HashMap both are the classes that implement the Map interface. But there are some differences that exist between them. So we hav
...read more
Java
Technical Scripter
Java-Collections
Difference Between
Java-HashMap
Java-EnumMap
Technical Scripter 2020
How to Convert Two Arrays Containing Keys and Values to HashMap in Java?
Last Updated: 17 December 2020
HashMap is part of the Collections framework of java. It stores the data in the form of key-value pairs. These values of the HashMap can be
...read more
Java
Technical Scripter
Java Programs
Java-HashMap
Picked
Technical Scripter 2020
Removing all Mapping From HashMap in Java
Last Updated: 17 December 2020
Maps are used for when you want to associate a key with a value and Lists are an ordered collection. Map is an interface in the Java Collect
...read more
Java
Java Programs
Java-HashMap
Picked
Kth most frequent Character in a given String
Last Updated: 01 March 2023
Given a string str and an integer K, the task is to find the K-th most frequent character in the string. If there are multiple characters th
...read more
Arrays
Strings
Tree
Java
Algorithms
Heap
Hash
Advanced Data Structure
Python
Competitive Programming
C++
Data Structures
C++ Programs
Java Programs
Python Programs
Java-HashMap
frequency-counting
DSA
Minimum distance between any two equal elements in an Array
Last Updated: 20 April 2023
Given an array arr, the task is to find the minimum distance between any two same elements in the array. If no such element is found, return
...read more
Arrays
cpp-map
Java-HashMap
java-map
DSA
HashMap replaceAll(BiFunction) method in Java with Examples
Last Updated: 15 October 2019
The replaceAll(BiFunction) method of HashMap class replaces each value with the result of applying the given function(performs a certain ope
...read more
Java
Java-Collections
Java - util package
Java-Functions
Java-HashMap
Picked
Count of pairs in an array whose sum is a perfect square
Last Updated: 28 March 2023
Given an array[Tex]arr[/Tex]of distinct elements, the task is to find the total number of two element pairs from the array whose sum is a pe
...read more
Arrays
Mathematical
Competitive Programming
Java-HashMap
maths-perfect-square
DSA
Find a non empty subset in an array of N integers such that sum of elements of subset is divisible by N
Last Updated: 06 March 2023
Given an array of N integers, the task is to find a non-empty subset such that the sum of elements of the subset is divisible by N. Output a
...read more
Algorithms
Arrays
Java-HashMap
Pigeonhole Principle
DSA
ConcurrentMap Interface in java
Last Updated: 17 September 2020
ConcurrentMap is an interface and it is a member of the Java Collections Framework, which is introduced in JDK 1.5 represents a Map that is
...read more
Java
Java-Collections
Java-HashMap
Importance of Hashcode method in Java
Last Updated: 18 January 2018
Prerequisite: Equals() and hashCode() methods in JavaHashMap and HashSet use hashing to manipulate data. They use hashCode() method to check
...read more
Misc
Java
Java-HashMap
java-hashset
WeakHashMap Class in Java
Last Updated: 24 January 2022
WeakHashMap is an implementation of the Map interface. WeakHashMap is almost the same as HashMap except in the case of WeakHashMap if the ob
...read more
Java
Java - util package
Java-HashMap
First
1
2
3
4
5
6
7
8
>>
Last
First
1
2
3
4
5
6
>>
Last
First
3
4
5
6
>>
Last
Trending in News
View More
10 Ways to Use Microsoft OneNote for Note-Taking
10 Best Yellow.ai Alternatives & Competitors in 2024
10 Best Online Collaboration Tools 2024
10 Best Autodesk Maya Alternatives for 3D Animation and Modeling in 2024
30 OOPs Interview Questions and Answers (2024)
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 !