---
title: "Discussion on \"Recursion + Generators in Python\" | Hashnode"
description: "Discussion on \"Recursion + Generators in Python\". So here I am, solving a few problems on Trees. And I stumbled upon this problem:  Two Sum IV - Input is a BST.\nOne approach can be to travel the nodes and hash the data in a set() and alongside check if the target-x (where x is the current node) is t..."
url: "https://hashnode.com/posts/recursion-generators-in-python/60fb275531552277811ab9c7"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Recursion + Generators in Python](https://vibhu4agarwal.hashnode.dev/recursion-generators-in-python?utm_source=hashnode&utm_medium=feed)

So here I am, solving a few problems on Trees. And I stumbled upon this problem: Two Sum IV - Input is a BST. One approach can be to travel the nodes and hash the data in a set() and alongside check if the target-x (where x is the current node) is t...

Jul 23, 2021 · 3 min read · vibhu4agarwal.hashnode.dev  
Read the article

-   [#recursion](https://hashnode.com/tag/recursion)
-   [#generators](https://hashnode.com/tag/generators)
-   [#python](https://hashnode.com/tag/python)

## Written by

[Vibhu Agarwal](https://hashnode.com/@vibhu4agarwal)

@vibhu4agarwal · India

  
[View profile](https://hashnode.com/@vibhu4agarwal)

Cloud Enthusiast | Full Stack Developer

Backend engineer experienced in critical software for Entertainment, Gaming, and Health-care. Skilled in Python, Go, and Docker. Has contributed to open-source and presented at PyCons. Currently a SWE-III @ Google Cloud, tackling challenges in high-traffic systems.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
