Swiggy OA SDE-1
Anonymous User
1456
Three questions to be done in 90 minutes.

Q1- Cherry pickup from leetocode

Q2-Maximum Profit in Job Scheduling from leetcode

Q3- Ram and shyam have to choose k chocolates they like in min price. 
	Inputs are given in form - Pi  Ri  Si
	
		Pi - Price of chocolate
		Ri-  1 means ram likes this and 0 means he doesn't
		Si-   1 means shyam likes this and 0 means he doesn't

	Return min price to get k chocolates for each(only the ones they like), return -1 if not possible.
Comments (3)