logo logo
  • Discover
    • Questions library
    • Collections library
    • Find online teacher
login
logo logo
logo logo
  • Discover
    • questions library
    • Find online teacher
  • login

Interview C++ coding problems/challenges | Greedy Algorithms

  • Save to bookmark
  • by mahmoud2506
  •   141
  •   4
C++ programming Programming Interview question
C++ programming Interview questions Programming Interview questions
0 0
  • partical
  • partical
banner
  1. Home
  2. Collections
  3. Interview C++ coding problems/challenges | Greedy Algorithms

Similar Collections


We are trying to list out the most frequently asked interview problems or the problem given in the coding rounds of IT giants.

questions

Title
Given an array of jobs where every job has a deadline and a profit. Profit can be earned only if the job is finished before the deadline. It is also given that every job takes a single unit of time, so the minimum possible deadline for any job is 1
We have given items i1, i2, ..., in (item we want to put in our bag) with associated weights w1, w2, ..., wn and profit values P1 , P2 ,..., Pn. Now problem is how we can maximize the total benefit given capacity of bag is C?
Given n non-negative integers representing an elevation map where the width of each bar is 1, compute how much water it is able to trap after raining?
Cameron and Jamie\'s kid is almost 3 years old! However, even though the child is more independent now, scheduling kid activities and domestic necessities is still a challenge for the couple
total questions: 4

Questions

4

Views

141

Best Answers

299

Points

5
add reason
Evaluation reason
welcom to nerdutella

start bookmarking useful questions and collections and save it into your own study-lists, login now to start creating your own collections.

login signup
nerdutella.com

Signup now at nerdutella

Signup
Trustpilot

We are trying to list out the most frequently asked interview problems or the problem given in the coding rounds of IT giants. | C++ programming-Programming C++ programming-Programming

Know us

  • About
  • Contact us
  • Teaching jobs
  • questions library
  • online teachers

Get Help

  • knowledge base
  • Terms & conditions
  • Privacy policy
  • mcqgeek.com

© Copyright 2022, All Rights Reserved by nerdutella.com