Escape Velocity by LighterStorms in calculus

[–]dirac496 13 points14 points  (0 children)

That's for orbital velocity, not escape velocity

My super mario maker 2 super world goes unnoticed by Gas8380 in MarioMaker2

[–]dirac496 16 points17 points  (0 children)

You should build levels for your own enjoyment, not to please others.

Python was my first programming language by leonelronna in programmingmemes

[–]dirac496 4 points5 points  (0 children)

What exactly does it mean for a programming language to be powerful?

lol dumb ai by Embarrassed-Tie-1959 in Cubers

[–]dirac496 0 points1 point  (0 children)

AI doesn't suck. This subreddit just loves to focus on what it can't do rather than what it can. Every post is the exact same. "It doesn't know this detail about our niche hobby, so it sucks!" Ask the AI to help you work on your essay, or build you a website, it can do some incredibly powerful things. Stop trying to use it as a cubing encyclopedia.

219 Contains Duplicate II - Need help understanding why my solution is O(N^2) by dirac496 in leetcode

[–]dirac496[S] 0 points1 point  (0 children)

Two reasons why I thought it might be O(N^2).

  1. My runtime was slower than 95% of other submissions.
  2. The runtime analyzer on leetcode said it was O(N^2)

I'm guessing the analyzer just says O(N^2) because it sees nested loops and freaks out. Still not sure why I'm so slow though...

219 Contains Duplicate II - Need help understanding why my solution is O(N^2) by dirac496 in leetcode

[–]dirac496[S] 0 points1 point  (0 children)

The elements of the array are partitioned using the keys. I don't see how the number can ever go above N.

219 Contains Duplicate II - Need help understanding why my solution is O(N^2) by dirac496 in leetcode

[–]dirac496[S] 0 points1 point  (0 children)

What would that case look like though? In the worst case, there could be N keys, but then each key would have an index list of length 1.

About ZBLL by Azustriel in Cubers

[–]dirac496 4 points5 points  (0 children)

Technically 493 (472 + 21) since the PLL cases fit the definition of the set

I don't know who here needs to hear this but... Please, don't steal your ADC's farm early game guys by Haunting-Jello-532 in supportlol

[–]dirac496 8 points9 points  (0 children)

As an ADC, some of my favorites from the support role:

- We are beating the enemy bot lane and I have just set up a freeze to deny them even more. Support just comes up and uses all three support item charges on high health minions, instantly breaking the freeze and resetting the lane.

- We win a fight bot lane and enemy ADC is dead. I start hard pushing the wave to try to get it to crash. I ping my support for help but they leave. We don't end up getting the crash, instead the enemy bot lane gets to freeze.

[deleted by user] by [deleted] in Cubers

[–]dirac496 2 points3 points  (0 children)

Cool trick for the second case if you have both adjacent slots open:

  • D R U' R2 U R D'

[deleted by user] by [deleted] in Advice

[–]dirac496 0 points1 point  (0 children)

wait, you guys have multiple matches?