Don't get any wild ideas about these solutions. These are just mine. So, I'd assume there are better solutions out there in the wild. However, few of them do have fair time and space complexity. Happy coding!
Update: Fellas, I stopped solving daily problems