← Back to posts

[LeetCode] Introduction

JavaTProgrammingLeetCode

I recently discovered a great website called LeetCode. It has a huge collection of problems, most of them the kind that come up often in programming interviews—perfect for anyone job hunting who wants to get some practice, or for anyone who feels their technical foundation isn’t strong enough and wants to shore it up.
It has built-in features for running CODE online and detecting whether your program errors out or times out. So sometimes, even if your algorithm is entirely correct, a timeout still doesn’t count as a pass—and that’s exactly when you can study how others wrote their solutions. It has a built-in forum, and you can search by problem too, so you can generally find plenty of reference material.
Maybe some people feel these problem banks are pointless, and since many answers can be found online there’s no need to practice at all. But I think—at least for me—there are some solutions I can’t intuitively come up with at first and need extra time to work out. In today’s fast-paced environment where every second counts, being able to arrive at some solutions intuitively is surely a big plus, and besides, some solutions are ones I’d never even have thought of.
Going forward, I’ll post a LeetCode solution every day from Monday to Friday as a record, and if you have any questions, feel free to discuss them anytime. I may not always be able to answer directly, but at least I’ll dig up some related material to bring to the discussion.
So, let’s get CODING!

Signed in Taiwan · 2016