Skip to content

PrepBytes Blog

ONE-STOP RESOURCE FOR EVERYTHING RELATED TO CODING

Menu
  • Language
    • C
    • C++
    • Java
    • Javascript
    • Python
  • Data Structure
    • Array
    • Graphs
    • Heap
    • Linked List
    • Segment Tree
    • Stack
    • Trees
    • Queue
  • Algorithm
    • Backtracking
    • Dynamic Programming
    • Greedy Algorithm
    • Searching
    • Sorting
  • CSE Subjects
    • Operating System
  • Company Placement
  • Interview
    • Interview Tips
    • General Interview Questions
    • Algorithms
    • Data Structure
    • Languages
    • Other Topics
  • Competitive
    • Data Structure
      • Array
      • Graph
      • Heap
      • Segment Tree
      • Stack
      • Queue
      • Tree
      • Tries
    • Algorithm
      • Backtracking
      • Dynamic Programming
      • Greedy Algorithm
      • Searching
      • Sorting
    • Other Topics
      • Computational Geometry
      • Game Theory
      • Maths
      • Pointers
      • Recursion
      • String
  • Others
    • Computational Geometry
    • Game Theory
    • Hashing
    • Maths
    • Pointers
    • Recursion
    • String

Category: Java

Java Linked list

Convert a given Binary Tree To Circular Doubly Linked List

PrepBytesJuly 13, 2022July 28, 2022
Introduction One of the most crucial data structures to learn while preparing for interviews is the linked list. In a coding interview, having a thorough understanding of Linked Lists might...
Java Queues

Implement Priority Queue Comparator Java

Abhishek SharmaJuly 12, 2022July 28, 2022
Priority Queue: Priority queue is an abstract data type, It is a type of queue in which each element has a priority assigned to it. The priority of the element...
Java Queues

Queue Interface Java

Abhishek SharmaJuly 12, 2022July 28, 2022
Firstly, we’ll see what the queue is. Queue A queue is basically a linear data structure that works on the principle of FIFO (First in First out) which means an...
Java Queues

Priority Queue Class In Java

Abhishek SharmaJuly 12, 2022July 28, 2022
Queue: The queue is a linear data structure that works on the principle of First in First out (FIFO). In the queue, the element which is added at least recently...
Java

What is the difference between core java and advanced java?

Ria PathakApril 8, 2022April 8, 2022
Java being one of the most popular languages is sometimes quite intimidating. Most of you must have heard or even used both core java and advanced java concepts at some...
Java

20 Must Practice basic Java Programs for beginners

Ria PathakMarch 31, 2022April 7, 2022
Write a program to swap two numbers in Java. Ans. Two ways to do this -with third variable and without third variable. public static void swapNumberswithtemp(int a, int b) {...
Java

Difference and similarities between HashSet, LinkedHashSet, and TreeSet in Java

Ashutosh AnandJanuary 6, 2022July 6, 2022
Introduction We all have been using HashSet, LinkedHashSet, and TreeSet in Java. But do you know what are the differences between them and how they all are similar too in...
Java Linked list

Convert A Singly Linked List to An XOR Linked List

PrepBytesNovember 9, 2021July 13, 2022
Introduction One of the most crucial data structures to learn while preparing for interviews is the linked list. In a coding interview, having a thorough understanding of Linked Lists might...
Java Linked list

Merge Two Unsorted Linked Lists To Get A Sorted List

PrepBytesOctober 26, 2021April 20, 2022
Introduction One of the most crucial data structures to learn while preparing for interviews is the linked list. In a coding interview, having a thorough understanding of Linked Lists might...
Java Linked list

How to Implement Generic LinkedList in java

PrepBytesOctober 14, 2021March 10, 2022
Introduction One of the most crucial data structures to learn while preparing for interviews is the Linked List. In a coding interview, having a thorough understanding of Linked Lists might...
Java Linked list

Implementing a Linked List in Java using Class

PrepBytesOctober 8, 2021February 22, 2022
Introduction One of the most crucial data structures to learn while preparing for interviews is the linked list. In a coding interview, having a thorough understanding of Linked Lists might...
Java

ConcurrentLinkedQueue isEmpty() method

PrepBytesOctober 4, 2021March 11, 2022
Introduction ConcurrentLinkedQueue class in java extends AbstractQueue interface and implements Queue interface. This class was added in Java 5. ConcurrentLinkedQueue class is a member of the collections framework in java....
Java

ConcurrentLinkedQueue in Java With Examples

Abhinav JainSeptember 29, 2021March 11, 2022
Class Declaration [TABS_R id=5250] Here, E is the data type of the elements which will be stored in the queue. ConcurrentLinkedQueue class in java extends AbstractQueue interface and implements Queue...
Java

Java.util.LinkedList.poll(), pollFirst(), pollLast() with examples in Java

Aman SharmaSeptember 28, 2021March 10, 2022
Introduction One of the most crucial data structures to learn while preparing for interviews is the linked list. In a coding interview, having a thorough understanding of Linked Lists might...
Java Linked list

How To Iterate LinkedList in Java

Abhinav JainSeptember 27, 2021June 22, 2022
Introduction One of the most crucial data structures to learn while preparing for interviews is the linked list. In a coding interview, having a thorough understanding of LinkedList might be...
Java Linked list

Deletion in Circular Linked List

Abhinav JainSeptember 21, 2021June 16, 2022
Introduction One of the most crucial data structures to learn while preparing for interviews is the linked list. In a coding interview, having a thorough understanding of Linked Lists might...
Java Linked list

How to Get a Value from LinkedHashMap by Index in Java

Aman SharmaSeptember 14, 2021March 10, 2022
Introduction One of the most crucial data structures to learn while preparing for interviews is the linked list. In a coding interview, having a thorough understanding of Linked Lists might...
Java Linked list

Rearrange the given linked list such that it consists of alternating minimum-maximum elements

PrepBytesSeptember 13, 2021March 12, 2022
Problem Statement In this problem, we are given a LinkedList (root node) and we are asked to rearrange it such that after rearrangement, it will contain alternating minimum and maximum...
Java

How to Get First or Last entry from Java LinkedHashMap

Aman SharmaSeptember 7, 2021March 10, 2022
Introduction One of the most crucial data structures to learn while preparing for interviews is the linked list. In a coding interview, having a thorough understanding of Linked Lists might...
Java

LinkedHashMap get() Method in Java

Aman SharmaSeptember 4, 2021March 10, 2022
Introduction One of the most crucial data structures to learn while preparing for interviews is the linked list. In a coding interview, having a thorough understanding of Linked Lists might...
Java

LinkedList addFirst() Method in Java

Aman SharmaSeptember 4, 2021March 10, 2022
Introduction One of the most crucial data structures to learn while preparing for interviews is the linked list. In a coding interview, having a thorough understanding of Linked Lists might...
Java Linked list

LinkedList descendingIterator in Java with Examples

PrepBytesSeptember 1, 2021March 10, 2022
Introduction One of the most crucial data structures to learn while preparing for interviews is the linked list. In a coding interview, having a thorough understanding of Linked Lists might...
Java

LinkedList push() Method in Java

Aman SharmaAugust 31, 2021March 10, 2022
Introduction One of the most crucial data structures to learn while preparing for interviews is the linked list. In a coding interview, having a thorough understanding of Linked Lists might...
Java

Java.util.LinkedList.get(), getFirst() and getLast() in Java

Aman SharmaAugust 30, 2021March 10, 2022
Introduction One of the most crucial data structures to learn while preparing for interviews is the linked list. In a coding interview, having a thorough understanding of Linked Lists might...
Java

ArrayList and LinkedList remove() methods in Java with Examples

Aman SharmaAugust 26, 2021March 9, 2022
Introduction The linked list is one of the most crucial concepts and data structures to grasp while preparing for interviews. In a coding interview, having a thorough understanding of Linked...
Java

ArrayList vs LinkedList in Java

Aman SharmaAugust 26, 2021March 9, 2022
Introduction One of the most crucial data structures to learn while preparing for interviews is the linked list. In a coding interview, having a thorough understanding of Linked Lists might...
Java

LinkedHashMap removeEldestEntry() method in Java

Aman SharmaAugust 26, 2021March 10, 2022
Introduction The linked list is one of the most important concepts and data structures to learn while preparing for interviews. Having a good grasp of Linked Lists can be a...
Java

LinkedBlockingQueue size() method in Java

Aman SharmaAugust 21, 2021March 10, 2022
Introduction The linked list is one of the most important concepts and data structures to learn while preparing for interviews. Having a good grasp of Linked Lists can be a...
Java Linked list

LinkedList add() method in Java

Aman SharmaAugust 21, 2021March 10, 2022
Introduction The linked list is one of the most important data structures to learn while preparing for interviews. Having a good grasp of Linked Lists can be a huge plus...
Java Linked list

LinkedList listiterator() method in Java

Aman SharmaAugust 20, 2021March 10, 2022
Introduction The linked list is one of the most important data structures to learn while preparing for interviews. Having a good grasp of Linked Lists can be a huge plus...

Posts navigation

1 2 Next

Pages

  • ALGORITHMS
  • ARRAY
  • BACKTRACKING
  • C PROGRAMMING LANGUAGE
  • C++ PROGRAMMING LANGUAGE
  • COMPANY PLACEMENT PROCEDURE
  • COMPETITIVE CODING
  • COMPUTATIONAL GEOMETRY
  • CSE SUBJECTS
  • DATA STRUCTURE
  • DYNAMIC PROGRAMMING
  • GAME THEORY
  • GRAPHS
  • GREEDY ALGORITHM
  • HASHING
  • HEAP
  • INTERVIEW PREPARATION
  • INTERVIEW TIPS
  • JAVA PROGRAMMING LANGUAGE
  • JAVASCRIPT PROGRAMMING LANGUAGE
  • Languages
  • LINKED LIST
  • MATHEMATICS
  • OPERATING SYSTEM
  • POINTERS
  • PYTHON PROGRAMMING LANGUAGE
  • QUEUE
  • RECURSION
  • SEARCHING
  • SEGMENT TREE
  • SORTING
  • STACK
  • STRING
  • TREES
  • 1
    21 Dec 2021

    Preparing For Placement Season? Learn About Intuit’s Recruitment Process!

  • 2
    21 Dec 2021

    How Does Infosys Hire & What Is Its Recruitment Process?

  • 3
    21 Dec 2021

    How to crack a job interview at Wipro? Know more about the recruitment process!

  • 4
    10 Nov 2021

    TCS Is Hiring & You Can Be Their Next Best Recruit!

Close
Menu
  • Language
    • C
    • C++
    • Java
    • Javascript
    • Python
  • Data Structure
    • Array
    • Graphs
    • Heap
    • Linked List
    • Segment Tree
    • Stack
    • Trees
    • Queue
  • Algorithm
    • Backtracking
    • Dynamic Programming
    • Greedy Algorithm
    • Searching
    • Sorting
  • CSE Subjects
    • Operating System
  • Company Placement
  • Interview
    • Interview Tips
    • General Interview Questions
    • Algorithms
    • Data Structure
    • Languages
    • Other Topics
  • Competitive
    • Data Structure
      • Array
      • Graph
      • Heap
      • Segment Tree
      • Stack
      • Queue
      • Tree
      • Tries
    • Algorithm
      • Backtracking
      • Dynamic Programming
      • Greedy Algorithm
      • Searching
      • Sorting
    • Other Topics
      • Computational Geometry
      • Game Theory
      • Maths
      • Pointers
      • Recursion
      • String
  • Others
    • Computational Geometry
    • Game Theory
    • Hashing
    • Maths
    • Pointers
    • Recursion
    • String
FOLLOW US
CONTACT US
+91-8800 2588 17
contact@prepbytes.com
QUICK LINKS
Interview NotesMock TestsPlacement ProgrammeCoding CoursesMock InterviewAbout UsBlog