Monday, May 21, 2018

Being an interviewee: Set binary tree next pointer

May 21, 2018

Introduction


It is the first meeting I had with the friend's friend. I like to meet and practice algorithms together. My task is to write a next pointer for a binary tree.

Mock interview


Here is the algorithm I wrote.

Leetcode 116: Set binary tree next pointer

No comments:

Post a Comment