1685. Sum of Absolute Differences in a Sorted Array - Day 25/30 Leetcode November Challenge

Sdílet
Vložit
  • čas přidán 23. 11. 2023
  • Larry solves and analyzes this Leetcode problem as both an interviewer and an interviewee. This is a live recording of a real engineer solving a problem live - no cuts or edits!
    Problem: leetcode.com/problems/sum-of-...
    Twitch: / larryny
    Discord: / discord
    Instagram: / larrysomewhere
    #leetcode #coding #programming
  • Věda a technologie

Komentáře • 3

  • @Algorithmist
    @Algorithmist  Před 8 měsíci +1

    Were you able to get at those differences?

    • @abdujabbarmirkhalikov5480
      @abdujabbarmirkhalikov5480 Před 8 měsíci

      It was really hard to catch the idea, yes by the intuition, it was clear that prefix sum is key, but how exactly calculate the result was for each element was challange.

  • @user-op5mk6gm6w
    @user-op5mk6gm6w Před 8 měsíci

    Well spoken one. i overlooked the sorted part 😅 . might implement later :) greetz, deboder