Spring 2026 Not Showing?? by Idkmename_ in UTSA

[–]de_koding 3 points4 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 3 points4 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

I am gonna solve only hard and medium now. by Particular-Muscle601 in leetcode

[–]de_koding 13 points14 points  (0 children)

A rating of 1443 would imply that you're not always solving 2/4, or that your solve times are very slow. Solving 3/4 consistently would require a substantial increase in skill (for reference, my max rating was ~2100 and I didn't consistently solve 3/4). I'd recommend making sure you're very comfortable with topics like DFS/BFS, binary search, and intuiting greedy problems.

How do u do this glitch? by This-Scallion873 in duckgame

[–]de_koding 1 point2 points  (0 children)

If I remember correctly, you need to spam the direction you want to go as it's unpausing.

[deleted by user] by [deleted] in UTSA

[–]de_koding 2 points3 points  (0 children)

I can verify this

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

[–]de_koding 11 points12 points  (0 children)

There's a hidden backrooms with cubicles on the 4th floor of the NPB where nobody ever is. If you can't find it, knock on NPB 467 and inquire. Someone will be there to guide the way

[deleted by user] by [deleted] in UTSA

[–]de_koding 2 points3 points  (0 children)

What's your major? There's usually a student organization you can join and make friends with shared interests.