WobblyMochi
WobblyMochi
30mo

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.

30mo ago
PrancingCoconut
PrancingCoconut
30mo

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
30mo

Thanks, sometimes I forget that Chatgpt exists

PrancingCoconut
PrancingCoconut
30mo

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

GoofyDonut
GoofyDonut

Use hyperlinks to the sheet itself!

WobblyMochi
WobblyMochi
30mo

Link to any sample doc will also work

Discover more
Curated from across