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

preview_player
Показать описание
In this video, I'll talk about how to solve - 2593. Find Score of an Array After Marking All Elements - In which we learn about the intuition of getting to the data structure being used

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

Let's Connect:

Resources you can try:

🎥Channel Playlists

About Channel:
We teach about how you can grow in life & educate about programming in Fun way.

About Me:
I am Aryan Mittal - a Software Engineer, Speaker, Creator & Educator. During my free time, I create programming education content on this channel & also how to use that to grow :)

✨ Timelines✨
0:00 - Problem Explanation
1:04 - Identify Data Structure to be used
4:37 - Code Explanation

✨ Hashtags ✨
#skills #college #studentslife #students #teenager #life #teenagers #students
#programming #Interviews #leetcode #faang
Рекомендации по теме
Комментарии
Автор

Getting min element in priority queue is o(1), if it's min heap

vamsikrishnagonchivenkata
Автор

vector<bool> isSelected; // is selected or not
map<int, vector<int>> m; // key with their indexes

what if whan i use this instade of set?

TheBaljitSingh
Автор

we can do it with pq as well if we are using a pair of value and index

anshuljangra
Автор

pls upload solution link too. that would be really helpful

_deepakkumar