Accenture Interview QuestionDeveloper Program Engineers
- -1of 1 vote
You are given an array of wooden log’s length. each of varying length.You have a wooden cutter with you. it has a sharpness value, say S.
You are supposed to cut as many wooden logs (desired logs), each of length L (not more or less) using only S cuts
if you cut a wood, S will decrease by 1
if you cut two woods together, even then S will decrease by the number of woods in the cut, ie. 2
assume L and S are int. and the length of each wood is also int
Interview Type: In-Person