2262. Total Appeal of A String (Leetcode Hard)

  Рет қаралды 1,855

Programming Live with Larry

Programming Live with Larry

2 жыл бұрын

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

Пікірлер: 11
@Algorithmist
@Algorithmist 2 жыл бұрын
Did you get the full appeal of this problem?
@AakuRowdy89
@AakuRowdy89 Жыл бұрын
Haha; I almost got it. Great explanation. Can you please clarify my question below
@greedycat9845
@greedycat9845 2 жыл бұрын
amazing and nice explanation
@Algorithmist
@Algorithmist 2 жыл бұрын
It had.. a good appeal, haha
@AyushKumar-rh1vy
@AyushKumar-rh1vy 2 жыл бұрын
Thanks very good explanation
@AakuRowdy89
@AakuRowdy89 Жыл бұрын
One thing I am having a hard time grokking is the contribution of the first 'b'. Can you please elaborate what the left("", "a") and right halves("", "b", "bc", "bca") signify?.Aren't we double counting the empty string, i.e., "b" substring?
@Algorithmist
@Algorithmist Жыл бұрын
No, I think you can work that out..
@AakuRowdy89
@AakuRowdy89 Жыл бұрын
@@Algorithmist Still elluding me. As you show in your examples of prefix and suffix, I keep thinking about "_" as "_b" and "b_". Please correct my understanding
@AakuRowdy89
@AakuRowdy89 Жыл бұрын
Finally I get the appeal. For anyone being as daft as me - its multiplication, i.e., I was considering each half as a substring. Larry is trying to tell me that every is always substring == left + char + right
@riteeshbommaraju
@riteeshbommaraju 2 жыл бұрын
GAWWWDDD LEVEL SOLUTION !!!!!!
@siddharthb2226
@siddharthb2226 2 жыл бұрын
THALAIVAAAA
2258. Escape the Spreading Fire (Leetcode Hard)
25:18
Programming Live with Larry
Рет қаралды 2,1 М.
Osman Kalyoncu Sonu Üzücü Saddest Videos Dream Engine 170 #shorts
00:27
MEGA BOXES ARE BACK!!!
08:53
Brawl Stars
Рет қаралды 35 МЛН
Я нашел кто меня пранкует!
00:51
Аришнев
Рет қаралды 2,5 МЛН
LeetCode Weekly contest 291 | Total Appeal of A String (Hard)
15:15
How I Failed the Google Coding Interview (and lessons I learned)
14:24
3201. Find the Maximum Length of Valid Subsequence I (Leetcode Medium)
15:12
Programming Live with Larry
Рет қаралды 490
tRPC, gRPC, GraphQL or REST: when to use what?
10:46
Software Developer Diaries
Рет қаралды 71 М.
Delivering Safe C++ - Bjarne Stroustrup - CppCon 2023
1:29:16
Choose a phone for your mom
0:20
ChooseGift
Рет қаралды 1,9 МЛН
Собери ПК и Получи 10,000₽
1:00
build monsters
Рет қаралды 2,1 МЛН
YOTAPHONE 2 - СПУСТЯ 10 ЛЕТ
15:13
ЗЕ МАККЕРС
Рет қаралды 154 М.
Best mobile of all time💥🗿 [Troll Face]
0:24
Special SHNTY 2.0
Рет қаралды 1,9 МЛН
Secret Wireless charger 😱 #shorts
0:28
Mr DegrEE
Рет қаралды 2,4 МЛН