WobblyMochi
WobblyMochi

How to show, recursion tree / binary tree on google doc during interviews

During online interviews how do you show recursive function calls (recursion tree) or explain solutions to tree problems? Any screenshots will be appreciated.

23mo ago
Jobs
One interview, 1000+ job opportunities
Take a 10-min AI interview to qualify for numerous real jobs auto-matched to your profile 🔑
+322 new users this month
PrancingCoconut
PrancingCoconut
Amazon23mo

ChatGPT:

You can use indentation and bullet points to create a basic representation of a recursion tree. Here's a simple example:

  • Node A
    • Node A1
      • Node A1.1
    • Node A2
  • Node B
    • Node B1
      • Node B1.1

Each level of indentation represents a new level in the recursion tree. However, this method might not provide the same visual clarity as a diagram would.

WobblyMochi
WobblyMochi
Adobe23mo

Thanks, sometimes I forget that Chatgpt exists

PrancingCoconut
PrancingCoconut
Amazon23mo

Haha, all good. Good luck for your interview if you have any :)

GoofyDonut
GoofyDonut

Use hyperlinks to the sheet itself!

WobblyMochi
WobblyMochi
Adobe23mo

Link to any sample doc will also work

Discover more
Curated from across