Find Score of an Array After Marking All Elements | Leetcode 2593

  Рет қаралды 3,435

Techdose

Techdose

Күн бұрын

Пікірлер: 16
@NitishKumar-vi7sq
@NitishKumar-vi7sq Ай бұрын
I've also used min heap. But I've use different approach and it worked. Thanks
@techdose4u
@techdose4u Ай бұрын
nice 👍
@Anikait-h3d
@Anikait-h3d Ай бұрын
Got TLE at the start but now understood. thanks!
@techdose4u
@techdose4u Ай бұрын
great :)
@MydavrUrunov
@MydavrUrunov Ай бұрын
Really nice explanation, near future I will work with you.
@techdose4u
@techdose4u Ай бұрын
great :)
@AlbinSabu-y2v
@AlbinSabu-y2v Ай бұрын
Thankyou sir❤️
@techdose4u
@techdose4u Ай бұрын
welcome
@sailendrachettri8521
@sailendrachettri8521 Ай бұрын
Thank you sir :)
@techdose4u
@techdose4u Ай бұрын
Most welcome!
@krishnaveerakishoremuppana9189
@krishnaveerakishoremuppana9189 Ай бұрын
Thanks for the explaination. There is one more optimal solution with TC - O(N). It would be great if you could explain that. Thanks :)
@techdose4u
@techdose4u Ай бұрын
went for the intuitive one this time :)
@krishnaveerakishoremuppana9189
@krishnaveerakishoremuppana9189 Ай бұрын
@@techdose4u yes it was tough to get the intuition of most optimal one. Anyways, I have upsolved it using the editorial :). They have used the concept of local minima and two pointer approach
@deathstrom8723
@deathstrom8723 Ай бұрын
It showing an error message like even the syntax is wriiten exactly like u error: expected '>' Line 13: Char 23: note: to match this '
@RavikantMunda
@RavikantMunda Ай бұрын
Do not use semicolon in your define statements at the top
@techdose4u
@techdose4u Ай бұрын
maybe you need to provide a space at the end before var name > > instead of >>
Muslims hate each other! | Stand up comedy by Mohammed Hussain
16:06
Officiallysane - Mohammed Hussain
Рет қаралды 1,6 МЛН
Fast Inverse Square Root - A Quake III Algorithm
20:08
Nemean
Рет қаралды 5 МЛН
小丑女COCO的审判。#天使 #小丑 #超人不会飞
00:53
超人不会飞
Рет қаралды 16 МЛН
Sigma Kid Mistake #funny #sigma
00:17
CRAZY GREAPA
Рет қаралды 30 МЛН
Maximum Number of Fish in a Grid | Leetcode 2658
12:24
Techdose
Рет қаралды 1 М.
This Algorithm is 1,606,240% FASTER
13:31
ThePrimeagen
Рет қаралды 863 М.
one year of studying (it was a mistake)
12:51
Jeffrey Codes
Рет қаралды 264 М.
Dependency Injection, The Best Pattern
13:16
CodeAesthetic
Рет қаралды 914 М.
I Solved 100 LeetCode Problems
13:11
Green Code
Рет қаралды 332 М.