Memory Saftey - Double free errors
In C++, you can call delete operator to free heap memory. Freeing a pointer twice leaves room for attackers to manipulate the linked list of free memory blocks. MITRE’s CWE has more details around this.
Solving Josephus problem
How many of you had an aha moment while watching a video on YouTube? This blog post is based on one of my aha moment.