Debugging
A famous quote says:
This quote sounds weird, right? But, when we think about it, we spend many coding hours debugging our (or others') code.
Our debugging skills can sometimes determine whether a phase lasts a few days or weeks.
One of the mistakes developers make when practicing for job interviews is focusing only on code writing and forgetting about debugging. But debugging is one of the most important tools we have as developers, and we can expect at least one or two debug questions in our interview.
“Can you explain how to debug memory leaks in iOS applications?”
Why is this question important?
First, let’s be aligned on what a memory leak is. A memory leak doesn’t mean an app with high memory usage – that’s a widespread misconception.
A memory leak means an app was allocated...