You are given n balloons, indexed from 0 to n - 1. Each balloon is painted with a number on it represented by an array nums. You are asked to burst all the balloons. If you burst balloon i, you will…
You've read your 3 free write-ups
Sign up free to keep reading. Your account opens the first 10 questions of every company.