Welcome To Tutorialspoint.dev
Officially launched 18th May 2019
Arrays Java Java-Arrays

Arrays in Java

An array is a group of like-typed variables that are referred to by a common name.Arrays in Java work differently than they do in C/C++. Following are some important...
Graph JavaScript JavaScript-DS

Implementation of Graph in JavaScript

In this article we would be implementing the Graph data structure in JavaScript. Graph is a non-linear data structure. A graph G contains a set of vertices V and set ...
Hash Java Hash

Implementing our Own Hash Table with Separate Chaining in Java

Every data structure has its own special characteristics for example a BST is used when quick searching of an element (in log(n)) is required. A heap or a priority qu...
Hash Java Java-HashMap

Internal Working of HashMap in Java

In this article, we will see how hashmap’s get and put method works internally. What operations are performed. How the hashing is done. How the value is fetch...
Linked List Adobe Amazon

Find the middle of a given linked list in C and Java

Given a singly linked list, find middle of the linked list. For example, if given linked list is 1->2->3->4->5 then output should be 3. If there are ev...
Java Queue Java-Collections

Queue Interface In Java

The Queue interface is available in java.util package and extends the Collection interface. The queue collection is used to hold the elements about to be processed a...
Queue java-priority-queue priority-queue

Implement PriorityQueue through Comparator in Java

Prerequisite : Priority Queue, Comparator Priority Queue is like a regular queue, but each element has a “priority” associated with it. In a priority qu...
Java Stack Java - util package

Stack Class in Java

Java Collection framework provides a Stack class which models and implements Stack data structure. The class is based on the basic principle of last-in-first-out. In...
Java Stack Strings

Pattern Occurrences : Stack Implementation Java

Suppose we have two Strings :- Pattern and Text pattern: consisting of unique characters text: consisting of any length We need to find the number of patterns that ca...

Subscribe to Our Newsletter