Тёмный

1277. Count Square Submatrices with All Ones - Day 27/31 Leetcode October Challenge 

Programming Live with Larry
Подписаться 33 тыс.
Просмотров 432
50% 1

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/p...
Twitch: / larryny
Discord: / discord
Instagram: / larrysomewhere
#leetcode #coding #programming

Наука

Опубликовано:

 

27 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 15   
@Algorithmist
@Algorithmist День назад
Let's get all the one!
@Engineering.Wallah
@Engineering.Wallah День назад
Why u haven't given contest
@Algorithmist
@Algorithmist 16 часов назад
@@Engineering.Wallah I briefly talked about it, but marathon! It'll be in a couple of days
@TrungPham-yl1tu
@TrungPham-yl1tu День назад
Wish you great success in the marathon.
@lenovox1carbon664
@lenovox1carbon664 День назад
All the best larry
@MonuYadav-zg5zt
@MonuYadav-zg5zt День назад
all the best Larry
@Jazzimus
@Jazzimus День назад
best of luck for the marathon!
@chrischika7026
@chrischika7026 День назад
goodluck larry
@UnknownUnknown-wr8ly
@UnknownUnknown-wr8ly День назад
All the best dude 🥳🥳
@ccolombe
@ccolombe День назад
Hey Larry, I did this using prefix sum today since it would have O(n^3) and i figured that was small enough for the input of n = 300. I got AC but was much slower than many submissions since the DP was much better. Any intuition for thinking of DP here rather than the prefix sum? I think I would have realized the DP approach but got locked into prefix sum thinking with the small input size.
@Jazzimus
@Jazzimus День назад
the only reason ieven thought about dp for this problem was because ive solved a similar problem on LC (maximal square), which involved a dp solution.
@ccolombe
@ccolombe День назад
@@Jazzimus I saw people mentioning that one in the discussion!
@Algorithmist
@Algorithmist 16 часов назад
ya, honestly it's tough for this one because as I said, a lot of people just have seen it.. it is not an easy problem haha (prefix sum is DP by the way!)
@ashwinsolanki6549
@ashwinsolanki6549 День назад
Best of luck! 😃👍
@jegadheeswarank6290
@jegadheeswarank6290 День назад
Day 27 of solving leetcode problems till i get a job. thank you for your explanation .. all the best for the marathon
Далее
Wait for it 😂
00:19
Просмотров 4,9 млн
Думайте сами блин
18:15
Просмотров 663 тыс.
Making an Algorithm Faster
30:08
Просмотров 129 тыс.
Google Drive hates developers now
23:56
Просмотров 111 тыс.
Viral Video of a Man's Crazy Job Interview
16:02
Просмотров 1,5 млн
Microservices are Technical Debt
31:59
Просмотров 577 тыс.
Гаджет из даркнета 📦
0:45
Просмотров 282 тыс.
Проверил, как вам?
0:57
Просмотров 775 тыс.