- The solutions follow the API Design Guidelines of Swift, so function interfaces may not be the same as those defined on LeetCode editor. So if you want to submit the code for testing on LeetCode.com, please make changes to function interfaces accordingly.