1 DSA problems asked in Fidelity coding interviews
1 Easy
0 Medium
0 Hard
All Categories
All
1 problem
Binary Search
1
Fair Candy Swap
Easy
Alice and Bob have candy boxes: `aliceSizes[i]` is the number of candies in Alice's i-th box and `bobSizes[j]` the number in Bob's j-th box. They exchange exactly one box each so that both end up with the same total. Return `[x, y]` where `...