ru
Feedback

Не попадитесь на канал ботавода! Telemetrio находит и помечает такие каналы 👉 Хотите видеть метку — оформите подписку

Leetcode with dani

Leetcode with dani

Открыть в Telegram

Join us and let's tackle leet code questions together: improve your problem-solving skills Preparing for coding interviews learning new algorithms and data structures connect with other coding enthusiasts

Больше
1 240
Подписчики
Нет данных24 часа
-47 дней
-2230 дней
Архив постов
Don't ever save anything for a special occasion. Being alive is the special occasion. — Mary Engelbreit
08 окт. 2025, 14:20

06 окт. 2025, 06:41

🧠 TEASER
06 окт. 2025, 06:40

06 окт. 2025, 06:40
06 окт. 2025, ~06:41

photo content
+2
05 окт. 2025, 15:33

the exact answer with c++ passed 😭
the exact answer with c++ passed 😭
05 окт. 2025, 10:30

05 окт. 2025, 10:16

n, k = list(map(int, input().split()))
arr = list(map(int, input().split()))
bu = [0] * n
for i in range(len(arr) - 2, -1, -1):
    bu[i] = abs(arr[i] - arr[i + 1]) + bu[i + 1]
    for j in range(i + 2, min(i + k + 1, len(arr))):
        bu[i] = min(abs(arr[i] - arr[j]) + bu[j], bu[i])
05 окт. 2025, 10:14

this question freaks me out 🥵 i coundnt pass the time constraint
this question freaks me out 🥵 i coundnt pass the time constraint
05 окт. 2025, 10:12

Comedy This guy is pure comedy🤣🤣
05 окт. 2025, 06:55

05 окт. 2025, 06:54
05 окт. 2025, ~06:54

This guy is pure comedy🤣
05 окт. 2025, 06:54
05 окт. 2025, ~06:54

Mrbeast Hi Me in 10 Years😁 , what do u think u will be in 10 years from now , let's write down our plan and compare it after 10 years Oct 5 /2025 -> Oct 5 /2035
05 окт. 2025, 06:28

photo content
05 окт. 2025, 03:13

Amazing 🥳
Amazing 🥳
04 окт. 2025, 17:21

04 окт. 2025, 08:45

30 сент. 2025, 09:38

i wrote a code and submitted it but when i looked at it, it always return True then i write this and submitted it and it work
i wrote a code and submitted it but when i looked at it, it always return True then i write this and submitted it and it works , i dont expect this answer for DP question😂😂
30 сент. 2025, 09:38

😭
😭
30 сент. 2025, 08:11

new feature
new feature
30 сент. 2025, 08:10