parveensharma0909285

parveensharma0909285

Software Engineer

30Posts
2Courses

Articles

Design a Data Stream Median Finder Using Heaps

In this blog post, we'll explore how to efficiently design a data stream median finder using heaps. We will discuss the fundamental con...

author

Parveen

Author

16/11/2024

Date

#data structures, #algorithms

Tags

Frequency Sort Using Priority Queue

In this blog, we will explore the concept of frequency sorting using priority queues, a fundamental data structure that helps manage el...

author

Parveen

Author

16/11/2024

Date

#Java, #Data Structures

Tags

Sort a Nearly Sorted Array Using Heap

Sorting an array can often be a straightforward task, but what happens when the array is nearly sorted? This blog explores how to utili...

author

Parveen

Author

16/11/2024

Date

#Sorting, #Heap

Tags

Sliding Window Maximum Using Priority Queue

In this blog post, we will dive into the Sliding Window Maximum problem and explore how to efficiently solve it using a priority queue ...

author

Parveen

Author

16/11/2024

Date

#Sliding Window, #Priority Queue

Tags

Minimum Cost to Connect Ropes Using Heap

In this blog post, we will delve into the Minimum Cost to Connect Ropes problem using heaps, exploring efficient algorithms and providi...

author

Parveen

Author

16/11/2024

Date

#Java, #Data Structures

Tags

Finding the Median of a Stream Using Heaps

In this blog post, we will dive into the concept of calculating the median of a stream of numbers using heaps. We will utilize a combin...

author

Parveen

Author

16/11/2024

Date

#Java, #Data Structures

Tags

Top K Frequent Elements Using Heap in Java

In this blog post, we’ll explore an efficient algorithm to find the top K frequent elements in a list using a heap data structure. This...

author

Parveen

Author

16/11/2024

Date

#K Frequent Elements, #Priority Queue

Tags

Merge K Sorted Arrays Using Priority Queue

In this blog post, we will explore an efficient algorithm for merging k sorted arrays using a priority queue in Java. This approach not...

author

Parveen

Author

16/11/2024

Date

#Java, #Data Structures

Tags

Kth Largest and Smallest Elements Using Heap

In this blog post, we will explore how to efficiently find the Kth largest and Kth smallest elements in an array using heaps. This tech...

author

Parveen

Author

16/11/2024

Date

#Kth Largest, #Kth Smallest

Tags

Custom Comparator for Priority Queue in Java

In Java, the PriorityQueue class allows us to create a priority queue where elements are ordered based on their natural ordering or by ...

author

Parveen

Author

16/11/2024

Date

#Java, #Priority Queue

Tags