Using greedy strategy, schedule the following jobs with deadline so as to maximize the profit.
Deadlines and profits are mentioned as follows:
Job i |
1 |
2 |
3 |
4 |
Deadline di |
3 |
2 |
3 |
1 |
Profit gi |
9 |
7 |
7 |
2 |
Using greedy strategy, schedule the following jobs with deadline so as to maximize the profit.
What do you mean by dynamic programming? Write the algorithm of chain matrix multiplication.
Write short notes on
What is a Judy array?
Write a C program to find a no. is PALINDROME or NOT.
Write a C program to addition of two matrices.
Implement Bubble Sort using C.
Explain two-phase locking protocol.