Marvell Technology interview question

Branching and merging strategy, python