r/learnjava • • Feb 07 '21

Website for practicing Java?

Im currently learning Java from MOOC, the exercises are good, but sometimes I would like to practice what I already know. I tried HackerRank but it's little bit confusing for me.

It doesn't need to be website, maybe some videos for practice or anything else.

Any recommendations?

92 Upvotes

28 comments sorted by

View all comments

3

u/Gixx Feb 07 '21 edited Feb 07 '21

Competitive coding sites

The open problems column is not accurate. What I mean by NO is that the site is mostly a contest site and it's hard to find the free, open problems. Don't make me click through 5 pages, register with your bad UI to find the problems.

stdin/stdout is that most of the sites do not require you to read input and write to stdout. Leetcode just wants you to return an array.

websiteopen problemsstdin/stdout# of langs# problemscomment
Kattis [1]yesyes213000best stats, no editorials
Codeforcesyesyes6000decent stats
Leetcodeyesno20tonstons of plagiarism
Atcodernocontest site
Codechefno
Codewarsyesno31nice editorials
Hackerrank
topcodernoconfusing search
Codesignalyesno800great UI, has SQL
usaco [2]yesc++, java, pythongreat resources [3]

I do kattis. I tried 2-3 of them, and what I do not like is the confusing environment on leetcode. I get confused on how they want the class or method setup. Or if I can use global static variables (it was buggy, sometimes it would accept it).

Sites like kattis and codeforces you can just drag/drop 5 files if you wanted.

[1] - https://open.kattis.com/problems?order=problem_difficulty
[2] - https://usaco.guide/silver
[3] - https://usaco.guide/general/resources-cp?lang=cpp