Live data from Hacker News

Show HN: Openleetcode – Local LeetCode runner where tests live in the repo

github.com

21–28 of 28 posts

Re: Show HN: Openleetcode – Local LeetCode runner where tests live in the repo

#21
This is such a cool idea, I can't believe it hasn't been done before!

> It currently supports around 1.4k problems and multiple languages, including Python, C++, Rust, Java, Go, TypeScript, Swift, and others.

It would be interesting to have a variant where you get the input data through stdin or a file on disk, and verify by writing to stdout. That way you could bring your own language

Re: Show HN: Openleetcode – Local LeetCode runner where tests live in the repo

#24

- do you mind explaining why you picked this backend? https://github.com/engineer-man/piston - you could simply spawn a docker container for each programming language and run user submitted code inside no?

This backend effectively does exactly that.

Re: Show HN: Openleetcode – Local LeetCode runner where tests live in the repo

#25

- do you mind explaining why you picked this backend? https://github.com/engineer-man/piston - you could simply spawn a docker container for each programming language and run user submitted code inside no?

This backend effectively does exactly that.

nope, this is doing something entirely different https://github.com/engineer-man/piston/blob/master/api/src/j...

Re: Show HN: Openleetcode – Local LeetCode runner where tests live in the repo

#26

Why is leet code even a thing past 2024

because coding is a skill and by outsourcing it to AI you lose that skill

we outsourced leetcode thinking long ago (to libraries' authors), the thing we have now just outsourced to AI is something else: practical coding and even system design skills.
Post reply on HN