Given integers d, a, b and an array of target integers, count how many elements in the array can be formed starting from d by repeatedly adding or subtracting a and b.
You've read your 3 free write-ups
Sign up free to keep reading. Your account opens the first 10 questions of every company.