AlgoMaster Logo

Find Pivot Index

nums=[1, 7, 3, 6, 5, 6]
0 / 30
algomaster.io
Step:Start: test each index as the pivot by summing both sides from scratch