Recently Interviewed for MMT.
contacted via naukri for this job opportunity.
R1:
- Basic introduction.
- Projects
- https://leetcode.com/problems/subarray-sum-equals-k/description/
- find cycle in directed graph.
R2:
- Introduction
- write a code where
- producer produces the task
- consumer consumes the task
- produces has to wait it queue is full
- produces and consumer should work parallely.
- write a code for
- we have W workers
- we have T tasks
- we have P phases in each task
- we have to write a code where workers works parallely and complete all tasks. where all workers must complete one phase of all tasks then proceed with next phases of all tasks.
- ex : if 3 tasks are there and 3 phases are there in each task then all workers should complete phase 1 of each task then they start working on next phase of the tasks.
Rejected
Comments (2)

