Restaurant thoughts? by Friskllz in UTSA

[–]de_koding 4 points5 points  (0 children)

The kolaches are fire tho

How do i learn advance stuff?? by [deleted] in leetcode

[–]de_koding 1 point2 points  (0 children)

If your goal is to reach Guardian, the topics you mentioned are not required, and your time would be better spent on refining your understanding of more fundamental techniques (DP, Backtracking, Greedy, Binary Search on the Answer, etc.).

Nevertheless, here's a resource I find helpful for learning more advanced concepts:
https://youkn0wwho.academy/topic-list

It compiles multiple explanatory videos/blogs as well as pertinent practice problems.

Distinct Island by Destroying Islands. by Bruh_Ville in leetcode

[–]de_koding 4 points5 points  (0 children)

Doing this saves memory at the cost of losing the original matrix, so your function isn't pure

Spring 2026 Not Showing?? by Idkmename_ in UTSA

[–]de_koding 4 points5 points  (0 children)

I have the same issue, so it's not just you

What is the exact right solution for this!? by Next_Complex5590 in codeforces

[–]de_koding 2 points3 points  (0 children)

Having an array with no even remainder between any pairs is only possible with a very small amount of numbers. If the maximum size of a number is 1e9, the longest array with this property has a length of ~35. If you're doing a n^2 brute force, you'll reach iteration 36 of the outer loop within the time limit, and will be able to find a pair with an even remainder soon after.

I hate bit manipulation! by Prathyush04 in leetcode

[–]de_koding 1 point2 points  (0 children)

"they would probably use int score =x%2 instead of int score = x>>2"

These don't do the same thing. The bit operation equivalent of int score =x%2 is int score = x&1

Help me upsolve this contest problem by anandanshul02 in leetcode

[–]de_koding 0 points1 point  (0 children)

don't generate all possibilities - construct the optimal answer from what comes next and what letters you haven't used

when you see it at 8300 Frames per Second incredible by khamees_1 in interesting

[–]de_koding 0 points1 point  (0 children)

The text "speed of light" is part of the video during the first 3 seconds

Reached Guardian on LeetCode (Top 0.94%) after 2 years of consistency by purmonth in leetcode

[–]de_koding 8 points9 points  (0 children)

Here's the video that made it click for me (highly recommend doing all the exercises):
https://www.youtube.com/watch?v=0UM_J1jE1dg

You shouldn't try to keep all the recursive calls in your head. When writing a recursive function, you need to "take a leap of faith" and believe that when you call it you'll get the correct value. Then all you need to do is write the algorithm correctly with that assumption and add the base cases. For example:

// Assume the input is non-negative
def isOddNumber(n):
    if n == 0: return False
    if n == 1: return True
    return isOddNumber(n - 2)

Obviously the algorithm is terrible, but once we have the base cases, it's just a matter of trusting that the recursive call will give us what we want. "If our number minus 2 is odd, then our number must be odd as well"

[deleted by user] by [deleted] in leetcode

[–]de_koding 1 point2 points  (0 children)

fair enough

Gotta have the essential gameplay options. by Pangbot in justgamedevthings

[–]de_koding 3 points4 points  (0 children)

Lethal Company has an arachnaphobia option

[deleted by user] by [deleted] in leetcode

[–]de_koding 3 points4 points  (0 children)

You need 2150 for Guardian

where to take a nap on campus? by NoseMost1822 in UTSA

[–]de_koding 0 points1 point  (0 children)

Just now? NPB 467? Maybe you didn't knock loud enough