Hashmap And Heap

10 problems to practice.

10 Total
7 Easy
0 Medium
3 Hard

K Largest Elements

1. You will be given an Array with its length 2. You will also be given an integral value k 3. Y...

easy

Highest Frequency Character

1. You are given a string str. 2. You are required to find the character with maximum frequency.

easy

Get Common Elements - 1

1. You are given a number n1, representing the size of array a1. 2. You are given n1 numbers, repre...

easy

Get Common Elements - 2

1. You are given a number n1, representing the size of array a1. 2. You are given n1 numbers, repre...

easy

Longest Consecutive Sequence Of Elements

1. You are given a number n, representing the size of array a. 2. You are given n numbers, represen...

hard

Sort K-sorted Array

1. You are given a number n, representing the size of array a. 2. You are given n numbers, represen...

easy

Median Priority Queue

1. You are required to complete the code of our MedianPriorityQueue class. The class should mimic th...

hard

Merge K Sorted Lists

1. You are given a list of lists, where each list is sorted. 2. You are required to complete the bo...

hard

Write Priority Queue Using Heap

1. You are required to complete the code of our Priority Queue class using the heap data structure....

easy

Write Hashmap

1. You are required to complete the code of our Hashmap class. Please watch the question video caref...

easy