ProDeveloperTutorial.com
  • DSA
    • Algorithms and Data Structures Tutorial
    • Crack The Coding Interview (DSA Sheet)
  • Coding Languages
    • C++ Tutorial
    • C language Tutorial
    • Linux Shell Scripting Tutorial
    • GIT Tutorial
    • Linux System Calls Tutorials
    • Shell Script Tutorial
  • System Design Tutorial

ProDeveloperTutorial.com

  • DSA
    • Algorithms and Data Structures Tutorial
    • Crack The Coding Interview (DSA Sheet)
  • Coding Languages
    • C++ Tutorial
    • C language Tutorial
    • Linux Shell Scripting Tutorial
    • GIT Tutorial
    • Linux System Calls Tutorials
    • Shell Script Tutorial
  • System Design Tutorial
ProDeveloperTutorial.com

What are You Looking For?

  • Coding Interview Questions
  • C++ Tutorial
  • DataStructure and Algorithms
  • C Language Tutorial
ProDeveloperTutorial
onJanuary 20, 2025

Heap: kth largest element in a stream

Problem Statement: You are given an infinite stream of integers, you need to find the kth largest element at any point of time. Example Input:…
Discover More
ProDeveloperTutorial
onJanuary 20, 2025

Heap: Sum of all the elements between k1 and k2 smallest elements

Problem Statement: You are given array of integers and 2 numbers k1 and k2. You need to find the sum of all the elements between the given 2…
Discover More
ProDeveloperTutorial
onJanuary 20, 2025

Heap: Connect ropes with minimum cost

Problem Statement: You are given n ropes of different lengths. You need to connect the ropes into one rope. The cost to connect 2 ropes is…
Discover More
ProDeveloperTutorial
onJanuary 20, 2025

Heap: Top K Frequent Words

Problem Statement: You are given an array of repeated numbers and a integer K. You need to find the top K numbers that are repeated maximum…
Discover More
ProDeveloperTutorial
onJanuary 20, 2025

Heap: Frequency sort

Problem Statement: You are given an array with repeated elements. You need to sort such that the one that has ore frequency should come first.…
Discover More
ProDeveloperTutorial
onJanuary 20, 2025

Heap: Top K Frequent Elements

Problem Statement: You are given an integer array and a value k, you need to return the k most frequest elements. Example Input: nums =…
Discover More
ProDeveloperTutorial
onJanuary 20, 2025

Heap: K closest number

Problem Statement: You are given an array and a value k and x. You need to find the k closest elements to x in arr[] Example arr[] = { 5, 6,…
Discover More
ProDeveloperTutorial
onJanuary 20, 2025

Heap: Sort a K sorted array or nearly sorted array

Problem Statement: You are given an array elements in which each element is at k away from its target position. Example Input: arr[] = {6, 5,…
Discover More
ProDeveloperTutorial
onJanuary 20, 2025

Heap: Return k largest element

Problem Statement: You are given an unsorted array of integer elements and “k”. You need to get the “k” largest…
Discover More
ProDeveloperTutorial
onJanuary 20, 2025

Heap: Kth smallest element.

Problem Statement: You are given an unsorted array of integer elements and “k”. You need to get the “k”th smallest…
Discover More

Posts pagination

Previous 1 … 17 18 19 … 70 Next
ProDeveloperTutorial.com
Tutorials and Programming Solutions
  • DSA
    • Algorithms and Data Structures Tutorial
    • Crack The Coding Interview (DSA Sheet)
  • Coding Languages
    • C++ Tutorial
    • C language Tutorial
    • Linux Shell Scripting Tutorial
    • GIT Tutorial
    • Linux System Calls Tutorials
    • Shell Script Tutorial
  • System Design Tutorial
© 2024 — ProDeveloperTutorial. All Rights Reserved.
Advertisement