FIND PIVOT INDEX | LEETCODE 724 | PYTHON SOLUTION

Sdílet
Vložit
  • čas přidán 24. 07. 2024
  • Channel Discord Community: / discord
    Problem Link: leetcode.com/problems/find-pi...
    Today we are solving an easy level question that is great for beginners to learn the ropes of algorithms and thinking in an LC way: Find Pivot Index.
    TIMESTAMPS
    00:00 Intro
    00:05 Question Prompt
    00:31 Basic Examples
    01:45 Solution Intuition
    03:20 Coding
    04:40 Time/Space Complexity
    05:45 Outro
  • Věda a technologie

Komentáře • 1

  • @HienPham-he2yn
    @HienPham-he2yn Před 4 měsíci

    how did you figure out global_sum - (2 * left_sum)?