Тёмный

POTD- 21/05/2024 | K closest elements | Problem of the Day | GeeksforGeeks 

Pulkit Malhotra
Подписаться 273
Просмотров 671
50% 1

POTD: www.geeksforgeeks.org/problem...
Code: discuss.geeksforgeeks.org/com...
Connect with me :
Website:
LinkedIn: / thepulkitmalhotra
GitHub: github.com/PulkitMalhotra161001
Twitter: / pulkitmalhotraa
#coding #programming #GeeksforGeeks #ProblemofTheDay #CodingQuestions #POTD #problemsolving #practice #dsa #gfgpotd #gfg #dailychallenge #java #datastructures #algorithms #PulkitMalhotra

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

 

19 май 2024

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 6   
@fridgevalorant1491
@fridgevalorant1491 Месяц назад
binary search karenge sorted array par. but there are test cases with unsorted array. even if we sort it and perform further, there's the 10th test case. it is failing. can u please explain why and how to solve it
@PulkitMalhotra
@PulkitMalhotra Месяц назад
array is unsorted but still we have to perform binary seach
@simple_user000
@simple_user000 Месяц назад
I tried to use min heap, but test case output is given wrong only!
@PulkitMalhotra
@PulkitMalhotra Месяц назад
i also tried the same. but that doesn't work. Array is unsorted but still we have to perform the binary search
@PranjalMishra-nh5kn
@PranjalMishra-nh5kn Месяц назад
14th case is also failing
@PulkitMalhotra
@PulkitMalhotra Месяц назад
i have given the code in the description
Далее
5 K Closest Numbers
14:45
Просмотров 115 тыс.
I Solved 1583 Leetcode Questions  Here's What I Learned
20:37
When IITian question Bill Gates🔥🙌
1:00
Просмотров 9 млн
How FIIT-JEE F***** Up
19:42
Просмотров 1,7 млн