Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Blog on Recursion - Mastering Recursion: Concepts, Problems, and Optimization #116

Merged
merged 4 commits into from
Oct 6, 2024

Conversation

narendra-dhangar
Copy link
Contributor

Description

This PR introduces a comprehensive blog post for the Algo repository, titled "Mastering Recursion: Concepts, Problems, and Optimization". In this blog, I (Narendra Dhangar), delve into the core aspects of recursion, including its structure, challenges, common problems, and optimization techniques. This article aims to help developers at all levels better understand recursion and how to apply it efficiently in algorithmic solutions.


Key Highlights:

  • Title: Mastering Recursion: Concepts, Problems, and Optimization
  • Author: Narendra Dhangar
  • Tags: recursion, algorithms, optimization, problem-solving, dsa
  • Slug: mastering-recursion

Blog Overview:

  1. Introduction to Recursion
    An overview of recursion fundamentals, explaining the key characteristics and how recursive solutions are structured.

  2. Common Recursive Problems
    Detailed explanations of problems like factorial, Fibonacci sequence, and tree traversals, complete with code examples.

  3. Tail Recursion & Optimization
    Discussion of tail recursion and techniques to optimize recursive solutions for performance, focusing on memory usage and efficiency.

  4. Challenges and Best Practices
    Insights into common pitfalls in recursion, best practices for writing clean recursive code, and how to avoid stack overflow.


Why This Blog?

Recursion is a foundational concept in computer science and is often used to solve complex algorithmic problems. With this post, we aim to strengthen the Algo repository's educational content and help the community improve their understanding and application of recursion in real-world scenarios.


Author Bio:

  • Narendra Dhangar
    B.Tech (CSE) Student
    A passionate learner focused on data structures, algorithms, and web development. Eager to share knowledge with the tech community and constantly striving to master new technologies.

Please review this addition, and let me know if there are any suggestions or improvements required!

@ajay-dhangar ajay-dhangar added gssoc-ext Contributions made as part of GirlScript Summer of Code Extended Edition. hacktoberfest-accepted PRs accepted for Hacktoberfest 2024. Ensures contributions are counted towards the official Hackt... level2 GirlScript Summer of Code | Contributor's Levels labels Oct 6, 2024
Copy link
Owner

@ajay-dhangar ajay-dhangar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

update code based on suggestions

blog/mastering-recursion.md Outdated Show resolved Hide resolved
Copy link
Owner

@ajay-dhangar ajay-dhangar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

@ajay-dhangar ajay-dhangar merged commit 5509092 into ajay-dhangar:main Oct 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
gssoc-ext Contributions made as part of GirlScript Summer of Code Extended Edition. hacktoberfest-accepted PRs accepted for Hacktoberfest 2024. Ensures contributions are counted towards the official Hackt... level2 GirlScript Summer of Code | Contributor's Levels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants