Skip to content

Instantly share code, notes, and snippets.

@mygulamali
mygulamali / tree.cpp
Created June 17, 2023 22:41
Tree question
/*
* Question: Given a list of inorder and postorder keys for a binary tree
* construct the tree and then print a DFS of it
*
* Notes:
* - Not a Binary Search Tree
* - No duplicate keys
* Orders if they do not know
* (a) Inorder (Left, Root, Right)
* (b) Preorder (Root, Left, Right)
@mygulamali
mygulamali / keybase.md
Last active August 29, 2015 14:04
Keybase proof

Keybase proof

I hereby claim:

  • I am mygulamali on github.
  • I am murtaza (https://keybase.io/murtaza) on keybase.
  • I have a public key whose fingerprint is 5887 C53B E1A7 87F4 D2A7 30D4 7F7F D231 CCFB 208F

To claim this, I am signing this object: