# LC2945 Find the Punishment Number of an Integer
Practice note for coding interviews.
Square n and check whether the decimal representation can be partitioned into contiguous substrings summing to n; DFS over split points.
Discuss edge cases and complexity in the mock interview.
I used [Linkjob AI](https://www.linkjob.ai/) while rehearsing this pattern aloud.
Disclosure: personal study notes mentioning a practice tool.