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
You are given a list of jobs where each job has a start time, finish time, and the profit associated with that job, find the maximum profit subset of non-overlapping jobs
C++ programming
2022-05-01
Answers
30
Question
40
Followers
30
0
1
371
You are standing in some location (x, y) on an island, given in form of a matrix of size N*M, you are allowed to move in all four directions left, right, up and down. You can move only one step at a time, if you step out of the matrix region then you die
C++ programming
2022-05-01
Answers
30
Question
40
Followers
30
0
1
365
Given an array of integers A[] and a positive integer k, find whether it\'s possible to divide this array into k non-empty subsets whose sums are all equal
C++ programming
2022-05-01
Answers
30
Question
40
Followers
30
0
1
491
Given N number of parenthesis (pair of opening and closing parenthesis), you have to count all the valid combinations of the parenthesis and print the value
C++ programming
2022-05-01
Answers
30
Question
40
Followers
30
0
1
416
Given N number of parenthesis (pair of opening and closing parenthesis), you have to print the valid combinations of the parenthesis and print the value
C++ programming
2022-05-01
Answers
30
Question
40
Followers
30
0
1
372
Given a range 1 to N. Among its different permutations you have to find out those permutations where only one element is greater than its previous element and you have to count that number
C++ programming
2022-05-01
Answers
30
Question
40
Followers
30
0
1
506
Given a string str, find total number of possible palindromic sub-sequences. A substring need to be consecutive such that for any xixj i<j must be valid in the parent string too
C++ programming
2022-05-01
Answers
30
Question
40
Followers
30
0
1
530
Given a string str, find the longest palindromic substring. A substring need to be consecutive such that for any xixj i<j must be valid in the parent string too
C++ programming
2022-05-01
Answers
30
Question
40
Followers
30
0
1
502
Given a positive integer N, count all possible distinct binary strings of length N such that there are no consecutive 1\'s. Output your answer mod 10^9 + 7
C++ programming
2022-05-01
Answers
30
Question
40
Followers
30
0
1
498
Given a rectangular grid of dimension 2 x N find out the maximum sum such that no two chosen numbers are adjacent, vertically, diagonally or horizontally
C++ programming
2022-05-01
Answers
30
Question
40
Followers
30
0
1
450
Given a number n, count minimum steps to minimize it to 1
C++ programming
2022-05-01
Answers
30
Question
40
Followers
30
0
1
434
Given 3 strings X, Y and Z, the task is to find the longest common sub-sequence in all three given sequences
C++ programming
2022-05-01
Answers
30
Question
40
Followers
30
0
1
583
Weights and values are given for n items along with the maximum capacity allowed W. What is the maximum value we can achieve if we can pick any weights, any number of times for the total allowed capacity of W?
C++ programming
2022-05-01
Answers
30
Question
40
Followers
30
0
1
503
Total:
3502
Previous
245
246
247
248
249
Next
Go