2270. Number of Ways to Split Array - Day 3/31 Leetcode January Challenge

preview_player
Показать описание
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!

#leetcode #coding #programming
Рекомендации по теме
Комментарии
Автор

I init'ed 2 arrays to store left and right b4 zipping it together🤦

Never occurred to me you could just sum of the array and subtract the current value

JamerGamerCool
visit shbcf.ru