No one has replied
@xpfxzxc Great solution! Thank you for sharing it. Updated the post :-)
Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.