Тёмный

Leetcode Weekly Contest 387 | Video Solutions - A to D | by Raghav Goel | TLE Eliminators 

TLE Eliminators - by Priyansh
Подписаться 28 тыс.
Просмотров 3,2 тыс.
50% 1

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

 

18 сен 2024

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 36   
@TLE_Eliminators
@TLE_Eliminators 6 месяцев назад
Please fill the Feedback form solutions: forms.gle/2qV3aK4wMm15QXPs7
@RahulKumar-ui8xw
@RahulKumar-ui8xw 6 месяцев назад
second question could have been done without using extra space by just transforming the grid using prefix sum over row and columns
@supersuperhero2449
@supersuperhero2449 6 месяцев назад
Bro can u share u code
@itzzRaghav
@itzzRaghav 6 месяцев назад
I felt the method with extra space to be more intuitive for beginners, that's why I went with it.
@namannema3349
@namannema3349 6 месяцев назад
i many interviews bro they consider not to play with the original array bro
@RahulKumar-ui8xw
@RahulKumar-ui8xw 6 месяцев назад
@@namannema3349 in matrix they don't as it may take larger space ... You can just go through problems on matrix on gfg that will give an
@_Kunal_Pawar
@_Kunal_Pawar 6 месяцев назад
Thanks for sharing! We really appreciate your upload, and it's awesome that you take the time to include additional common concepts. Not everyone does that, and it's super helpful for future reference. Keep up the great work! 🚀
@itzzRaghav
@itzzRaghav 6 месяцев назад
I am glad that you liked it.
@Ayush37262
@Ayush37262 6 месяцев назад
Please provide Biweekly contest solutions also...
@itzzRaghav
@itzzRaghav 6 месяцев назад
As of now we are creating video solutions of Weekly contests only.
@amaan6017
@amaan6017 6 месяцев назад
Hello , Here is my code for the Question No.2 of this contest. int countSubmatrices(vector& grid, int k) { int n = grid.size(); int m = grid[0].size(); if(grid[0][0]>k) return 0; vector temp(n,vector(m)); int ans = 0; for(int i=0;i
@itzzRaghav
@itzzRaghav 6 месяцев назад
Yeah the approach looks good
@cricketsureshlucky
@cricketsureshlucky 6 месяцев назад
thank you so much keep posting
@itzzRaghav
@itzzRaghav 6 месяцев назад
You are welcome
@JIGARSINGTHAKOR-yy6qp
@JIGARSINGTHAKOR-yy6qp 6 месяцев назад
I don't know abou segment trees but explanation sunke achha laga😂
@itzzRaghav
@itzzRaghav 6 месяцев назад
😂😂
@kinlearn
@kinlearn 6 месяцев назад
Hi, when can we expect the opening of courses?
@muthuvela4826
@muthuvela4826 6 месяцев назад
for first problem in question it is given as 1 indexed but we are using 0 indexed why?
@_Kunal_Pawar
@_Kunal_Pawar 6 месяцев назад
You can also use 1-based indexing, but then you will need to use [index-1], as vectors follow 0-based indexing.
@muthuvela4826
@muthuvela4826 6 месяцев назад
@@_Kunal_Pawar thank you understood
@Ayush37262
@Ayush37262 6 месяцев назад
Same doubt, 1 based indexing giving wrong answer
@Ayush37262
@Ayush37262 6 месяцев назад
​@@_Kunal_PawarBut then why it is written as 1 based indexing in question??
@itzzRaghav
@itzzRaghav 6 месяцев назад
Actually the problem statement has described the problem with 1 based indexing. But they gave input with 0 based indexing. Perhaps Leetcode should start mentioning it and I will also start mentioning this thing in future PCDs
@anonymousanonymous7507
@anonymousanonymous7507 6 месяцев назад
use better mic voice is not at all loud
@itzzRaghav
@itzzRaghav 6 месяцев назад
Can you please share the timestamp where you are facing this issue? I played the video and the audio is coming well on my end even at 70% volume.
@Ayush37262
@Ayush37262 6 месяцев назад
​​@@itzzRaghavBro, Voice is clear and loud 👍
Далее
Как мы играем в игры 😂
00:20
Просмотров 981 тыс.
Как мы играем в игры 😂
00:20
Просмотров 981 тыс.