LeetCode WEEKLY 364 java solution

Click a thumbnail to watch in a lightweight modal. (No downloads — view only.)