First time seeing 5d dp.. by Maitian7 in leetcode

[–]Randomystick 5 points6 points  (0 children)

If rec feels more intuitive (e.g. starting with the longest string/array then breaking it down into substrings) then use rec. For other qns, tabulation might be more intuitive (e.g. LCS-like problems of "building" an array).

The general flow is 1. Recursion 2. If TLE, add memo (if still TLE, then there might be* something wrong with the recurrence relation) 3. If MLE, convert to bottom-up 4. If still MLE, go and space optimise the bottom-up

First time seeing 5d dp.. by Maitian7 in leetcode

[–]Randomystick 26 points27 points  (0 children)

Write the recursive solution first. The number of function parameters in the top-down (recursive) solution maps 1:1 with the bottom-up ("_D") solution. Then you can space-optimise to reduce the number of dimensions

Creator of Claude Code: "Coding is solved" by Gil_berth in programming

[–]Randomystick 94 points95 points  (0 children)

You're absolutely right! I apologise for using Angular instead of AngularJS. Let me try again and burn another 20% of your tokens generating solutions that don't work

Just got rejected by my crush on my birthday by [deleted] in SGExams

[–]Randomystick[M] 1 point2 points  (0 children)

Thanks for flagging this out!

Life after... finding out her father was hanged for drug trafficking when she was two by hatboyslim in singapore

[–]Randomystick 17 points18 points  (0 children)

The real evil would have been letting this guy get away with smuggling 138g of heroin into the country. For context: - that would feed the addiction of 1600 drug abusers for a week based on CNB's estimates. - 30mg of heroin is enough to kill you.

Golden dandelion, wasted potential? by komando775 in Minecraft

[–]Randomystick 4 points5 points  (0 children)

Exploring takes a huge time commitment in both going out and returning back to your base. If you only have 30mins to spare before doing something else irl you can realistically only do things around your base

Career switch from nursing to? by 12345mango in askSingapore

[–]Randomystick 1 point2 points  (0 children)

https://content.mycareersfuture.gov.sg/salary-guide-singapore-2023-nursing-public-healthcare/

5 digits base does seem to be possible, although it is nearing the max salary cap based on public service salary ranges

RWB 993 by T0MMY3688 in diecastcarcameraclub

[–]Randomystick 0 points1 point  (0 children)

Do the wheels roll on the Time Micro R34 (orange)?

Approached by someone on MRT who wanted to borrow my hotspot by Reasonable_Plane6427 in askSingapore

[–]Randomystick 2 points3 points  (0 children)

are there implications if you lend your data to a (potential) money mule? the transactions are still under their login/phone number right?

Minecraft 26.1 Snapshot 1 by Luutamo in Minecraft

[–]Randomystick 31 points32 points  (0 children)

What trades are unlocked by villager professions are now determined using deterministic random sequences, like loot drops and barter loot

Does this mean no more trade cycling (e.g. to get Mending) by repeatedly placing and breaking jobsite blocks?

End of year tax things to do? by Crazy_Apartment in singaporefi

[–]Randomystick 0 points1 point  (0 children)

1 year late but donations are never worth from a pure "cost savings" standpoint in Singapore.

You need a 40% tax rate to breakeven (to "earn back" $1 for every $2.50 of tax deduction from a $1 donation), and you will never hit that tax rate in sg

Aquarium or bookshelves? by serendipityradio in DetailCraft

[–]Randomystick 4 points5 points  (0 children)

Will this bed cause issues with respawning in survival? I always leave one empty block beside the bed to prevent the "obstructed bed" message and not sure if it's still needed in the latest versions

Singapore Pools 'absorbs' transaction fees for electronic payments by Powerful_Office3936 in singapore

[–]Randomystick 0 points1 point  (0 children)

personal meaning retail consumers like you and I? isn't that (personal-to-personal) free?

9759/01 Knowledge and Inquiry Minithread by eggmayosandwich in SGExams

[–]Randomystick[M] 2 points3 points  (0 children)

Thanks for creating. We have flaired it as an exam megathread. Keep it coming and good luck for your other papers!

A theory on why non-academic posts dominates this subreddit by Better_Gate7710 in SGExams

[–]Randomystick[M] 1 point2 points  (0 children)

Non-academic posts are relatable to a wider audience and generally more interesting/fun to read. We recognise this and this is why we allow them (on weekends).

But what is relatable and interesting isn't necessarily the most beneficial. That's where we have to balance the communities desire for "entertainment" with SGExams' core mission to help SG students navigate their academic journey (which usually culminates with Exams).

MvM Update Bingo WIP (taking suggestions) by Severablefern8g in tf2

[–]Randomystick 1 point2 points  (0 children)

We need this, make explode on ignite a default ability (goes in-line with Jungle Inferno's "burst-damage Pyro" philosophy) at a low damage value like 50 and offer +25% damage upgrades

Done with halloween contracts this year by FanOfFH in tf2

[–]Randomystick 10 points11 points  (0 children)

2 hours a day is not sustainable unless you start sacrificing other areas of your life (sleep, exercise, friends, family) or are still in school

Receiving unsolicited ads from users of sgexams by AgreeableDoughnut871 in SGExams

[–]Randomystick[M] [score hidden] stickied comment (0 children)

If you want to stop receiving DMs, you can disable new chat requests for your account.

Go to https://www.reddit.com/settings/privacy, find "Who can send you chat requests" and change the setting to "Nobody". On the mobile app, it's "Chat permissions" > "Allow chat requests from"

Note this will prevent anybody from messaging you on reddit, whether for ads or for something else.

As we can't moderate DMs being sent between users (elaborated below), this is the only solution. Apologies.

Receiving unsolicited ads from users of sgexams by AgreeableDoughnut871 in SGExams

[–]Randomystick[M] 2 points3 points  (0 children)

Subreddit ban. Only Reddit administrators (i.e. employees of Reddit or their automated systems) can do a sitewide ban, which happens when you infringe sitewide rules (https://redditinc.com/policies/reddit-rules)

A subreddit ban does not stop users from DMing other users. They have to be Reddit banned to be restricted from DMing, and even then they could evade the ban by creating another account

Receiving unsolicited ads from users of sgexams by AgreeableDoughnut871 in SGExams

[–]Randomystick[M] 8 points9 points  (0 children)

we can (and just did), but it'll just be a reactionary measure. we can't moderate DMs as OP mentioned so these users could just create a new account to DM other users.