👨💻 Prefix Sum1 [leetcode/JS] 724_Find Pivot Index 풀이 🎲 문제 Find Pivot Index - LeetCode Level up your coding skills and quickly land a job. This is the best place to expand your knowledge and get prepared for your next interview. leetcode.com 724. Find Pivot Index Easy 정수 배열 nums가 주어지면, 이 배열의 pivot index 계산합니다. pivot index 는 피벗 인덱스는 인덱스 왼쪽에 있는 모든 숫자의 합이 인덱스 오른쪽에 있는 모든 숫자의 합과 같은 인덱스입니다. 인덱스가 배열의 왼쪽 가장자리에 있으면 왼쪽에 요소가 없기 때문에 왼쪽 합계는 0 입니다. 이는 어레이의 오른쪽 가.. 2022. 11. 12. 이전 1 다음