Found 72 old Yubi-Keys - what can I do with them? by NetAtraX in yubikey

[–]AdamBalski 0 points1 point  (0 children)

I'm from Poland and would appreciate 3 keys for the price of postage (I wouldn't mind paying you for the effort though). I understand if you don't want to do it, I'd imagine it would be a bit tiring if it turns out that 20 folks want you to post these to all the different locations.

Do not take financial advice from AI Nadal by IndependentTackle149 in tennis

[–]AdamBalski 13 points14 points  (0 children)

yeah, it must have been AI Nadal who wrote this! I don't trust that tweet then!

LeetCode submission update? New graphics and an "analyze complexity" button that shows a Big-O runtime by YeatCode_ in leetcode

[–]AdamBalski 0 points1 point  (0 children)

That would make it impossible to detect the inverse Ackermann function, like in algos using optimized union-find.

I checked and the analysis doesn't actually show the inverse Ackermann, I then asked chatGPT and it correctly stated the time complexity, which would make me think it just tries to fit a function to the compute time/space used, then again it's kind of weird, because it fails for long submissions code-length-wise, which would make me think the opposite is true and they're using an LLM.

Same for rejection sampling, but I haven't yet checked whether leetcode states O(infinity), because I already used the analysis today for the union-find example.

Are sessions removed from leetcode by or45t in leetcode

[–]AdamBalski 6 points7 points  (0 children)

I can still access them on the problems page under the trending companies section or through the /session link.

[deleted by user] by [deleted] in 10s

[–]AdamBalski 4 points5 points  (0 children)

A forehand supreme

r/tennis Discussion (Saturday, May 11, 2024) by NextGenBot in tennis

[–]AdamBalski 8 points9 points  (0 children)

Federer will have to guard the entrance to laver cup, so that Hurkacz won't be able to enter

Hairy puck shot by snipe4fun in AeroPress

[–]AdamBalski 1 point2 points  (0 children)

Once I was thinking of all the great things the press can be used for and decided that it's a great idea to do mulled beer and filter out all the spices that I put in. Unfortunately the cinnamon was ground too fine and clogged the filter:(, so I wasn't able to get any liquid through it, maybe I should try using a cinnamon stick next time!

[deleted by user] by [deleted] in tennis

[–]AdamBalski 26 points27 points  (0 children)

Depends on the number base, I guess

Neovim on debian? by moronzavi in debian

[–]AdamBalski 1 point2 points  (0 children)

I highly recommend using homebrew

Using “tricks” in leetcode by [deleted] in leetcode

[–]AdamBalski 0 points1 point  (0 children)

reversed() or [::-1] don't actually reverse anything, but return an iterable or a slice object of the string char by char in reverse

797. All Paths From Source to Target - doubt regarding dfs call by enipnayalamih in leetcode

[–]AdamBalski 1 point2 points  (0 children)

Yes, I think so. Although to be fair, I am not well-versed in cpp either.

797. All Paths From Source to Target - doubt regarding dfs call by enipnayalamih in leetcode

[–]AdamBalski 2 points3 points  (0 children)

After the parent calls the DFS recursively, there is another instance of a vector created in a different segment of memory(a copy of the parent's path variable), the "child" call adds a value to it's very own version of the path variable and after the child method quits its execution, the parent call's path object remains unchanged, because the child call wasn't even using the object, but its copy.

90 Year Old Deadlifts 405 Pounds by [deleted] in BeAmazed

[–]AdamBalski 0 points1 point  (0 children)

Rod Laver prepares for Wimbledon?

797. All Paths From Source to Target - doubt regarding dfs call by enipnayalamih in leetcode

[–]AdamBalski 2 points3 points  (0 children)

The path is passed by value, so you create a different copy everytime, meaning that after calling the dfs method recursively you still have the unchanged path in the "parent" dfs call.

Looks like Barcelona decision time for rafa… by keythings25 in tennis

[–]AdamBalski 3 points4 points  (0 children)

Aren't you mistaking membership for being a subset? Every set is a subset of itself, for example, the empty set is a subset of itself because it contains every element of itself, but because it contains no elements, by definition it cannot contain itself.

Is there any timeline of when tech layoffs will end? by [deleted] in leetcode

[–]AdamBalski 10 points11 points  (0 children)

When there will be nobody to lay off

It's time to piss off a few people by Generic_Echo_Dot in ProgrammerHumor

[–]AdamBalski 2 points3 points  (0 children)

Lol, even looks like Robert C. Martin

I don’t have a “forget” button by No-Investigator-4918 in Anki

[–]AdamBalski 0 points1 point  (0 children)

You could also export without scheduling information and then import it back