Tried a today, was pretty fun. @namark thanks for recommending these! I expect I’m gonna spend a lot of hours on these in the next few weeks.

Follow

toy prog challenge solution 

Did the subset sum challenge today, in . Code here. I used to get stuck with dynamic programming problems, finding them hard to reason about, so it was pleasant to find that with this one the logic flowed nice and easy. Typing in the test cases and getting the test setup going took up more time than actually solving the problem itself!

toy prog challenge solution 

@digital_carver wow, you went straight for the challenging ones, I’m yet to get through those myself. Glad you liked it. I spent disproportionate amount of time on some of the earlier ones.

Sign in to participate in the conversation
Qoto Mastodon

QOTO: Question Others to Teach Ourselves
An inclusive, Academic Freedom, instance
All cultures welcome.
Hate speech and harassment strictly forbidden.