jameshughes89 / cs101

CS 101: Introduction to Computer Science
http://csci161.com/
GNU General Public License v3.0
3 stars 11 forks source link

:new: :mortar_board: Look into LeetCode problems to replace Kattis #55

Open jameshughes89 opened 3 years ago

jameshughes89 commented 3 years ago

What

See how/where Kattis can be replaced by LeetCode or HackerRank.

Why

LeetCode and HackerRank have it such that your solutions are typically functions that take params as input. Kattis wants you reading from stdin, which I don't love.

Where

For the end part of the labs.

How

Check to see if there is a point in the course where LeetCode can take over.

Additional Notes

What sucks about this is:

  1. LeetCode doesn't have some of the accessible early problems like Kattis has. The easy problems on LeetCode still require a bit of knowledge a new programmer may not have.
  2. When we get to the part of the semester where they will know enough to use LeetCode for problems, they will also probably be at the part where the "magic code" I give them for Kattis' input will actually be completely understandable by them. In other words, this may be moot. D:
coffeecakeandtea commented 3 years ago

Issue with Leetcode is that a lot of the problems are hidden behind a paywall, so even with a free account, there is that limitation. HackerRank is my suggestion of an alternative, because it has similar questions to leetcode however it is almost all accessible for free.

coffeecakeandtea commented 3 years ago

I also would suggest leaving the HackerRank/Leetcode to replace the end of 162 labs, as these questions tend to require the use and understanding of underlying data structures and algorithms.

jameshughes89 commented 3 years ago

Issue with Leetcode is that a lot of the problems are hidden behind a paywall, so even with a free account, there is that limitation. HackerRank is my suggestion of an alternative, because it has similar questions to leetcode however it is almost all accessible for free.

Having a look at HackerRank, it does seem like a great option. I will dig deeper into it.

I also really like format of how they have the problems broken down.