My workspace for coding exercises.
Java source code directory.
-
src/util/
- small data structures like
Pair,ListNode,TreeNode. - helpers to facilitate testing, such as
TreeFactoryto build a tree from an array,IntArraysto load array from JSON files, shuffle an array, and so on. - code snippets like swapping
arr[i]andarr[j].
- small data structures like
-
src/data_structure/
Data structure implementations that might be useful when solving new problems.
-
src/algorithms/
Algorithms that solve common problems.
Archived solutions to problems from LeetCode, HackerRank, etc. Code is dumped here just for the sake of record.