Time: 52 ms (74.16%), Space: 14.6 MB (98.67%) - LeetHub