Hi all, Most google results for sample questions/problems for java, results in a link directing to mock certification questions. Does anyone know where can i find sample problems for practice ?
Thanks
Hi all, Most google results for sample questions/problems for java, results in a link directing to mock certification questions. Does anyone know where can i find sample problems for practice ?
Thanks
Project Euler is popular. There's not much point in being language-specific if your goal is general practice rather than testing detail knowledge.
codingbat has hundreds of Java practice problems. In addition to sheer numbers of problems, it's also great because it has a testing mechanism in place to check if your solution is correct.
They're mostly on the easy category, but it's still good for practice, and you can always challenge yourself by imposing your own restrictions, e.g. recursion when it's not demanded, regex-only instead of traditional string manipulation, "cheating" by using libraries, etc.