Discover
Questions library
Collections library
Find online teacher
login
Discover
questions library
Find online teacher
login
Popular searches:
if-else
class-diagram
flowchart
Polymorphism
Home
Questions
Questions
Study lists
mahmoud Questions
3502 Questions
Given a dictionary, you have to split a given string into meaningful words
C++ programming
2022-04-30
Answers
30
Question
40
Followers
30
0
1
542
Given a value V, if we want to make change for V cents, and we have infinite supply of each of C = { C1, C2, .. , Cm} valued coins, what is the minimum number of coins to make the change?
C++ programming
2022-04-30
Answers
30
Question
40
Followers
30
0
1
469
Given a value N, find the number of ways to make change for N cents, if we have infinite supply of each of S = { S1, S2, .. , Sm} valued coins. The order of coins doesn\'t matter
C++ programming
2022-04-30
Answers
30
Question
40
Followers
30
0
1
558
A professional robber is planning to rob houses along a street. Each house has a certain amount of money stashed, the only constraint stopping him from robbing each of them is that adjacent houses have security system connected
C++ programming
2022-04-30
Answers
30
Question
40
Followers
30
0
1
495
We have given items i1, i2 , ..., in (the item we want to put in our bag) with associated weights w1, w2, ... wn and profit values V1, V2, ... Vn. Now the problem is how we can maximize the total benefit given a capacity of the bag is W and each item is allowed to be used for 0 or 1 time?
C++ programming
2022-04-30
Answers
30
Question
40
Followers
30
0
1
652
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
C++ programming
2022-04-30
Answers
30
Question
40
Followers
30
0
1
1184
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?
C++ programming
2022-04-30
Answers
30
Question
40
Followers
30
0
1
1173
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?
C++ programming
2022-04-30
Answers
30
Question
40
Followers
30
0
1
1146
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
C++ programming
2022-04-30
Answers
30
Question
40
Followers
30
0
1
1163
Given an array of integers A of size N and an integer B. College library has N bags, the ith book has A[i] number of pages
C++ programming
2022-04-30
Answers
30
Question
40
Followers
30
0
1
169
You are given two prime numbers n and m of 4 digits each, you need to convert n into m in the minimum number of steps, in each step you can change one of the digits of the number n such that a resulting number is also a prime number
C++ programming
2022-04-30
Answers
30
Question
40
Followers
30
0
1
427
Given a weighted undirected graph. Find the sum of weights of edges of a Minimum Spanning Tree
C++ programming
2022-04-30
Answers
30
Question
40
Followers
30
0
1
530
Given a weighted directed graph, the problem is to find the shortest distances between every pair of vertices. The Graph is represented by an adjacency matrix, and any cell arr[i][j] denotes the weight of the edge (path cost) from node i to node j (if it exists) else INF
C++ programming
2022-04-30
Answers
30
Question
40
Followers
30
0
1
617
Total:
3502
Previous
254
255
256
257
258
Next
Go