1. Simple binary tree traversal recursive functions & Binary tree to list, in order The same list, back to in order binary tree
[Answer]
6. You have a simple tree structure Ⓐ and its clone ⓐ.Each node in the tree has a pointer to it's parent as well as an array of its children. Given an original tree's node Ⓑ and cloned tree ⓐ, implement a method that returns ⓑ (the clone of Ⓑ). (Imagine finding the matching UIButton/UISlider/UIView in a separate cloned view controller.)
[Answer]
[Answer]
- Asked me to architect an app that pulls photos from a server and displays them in a feed
- What is your favorite framework? Why?
5. iOS developers have a "dispatch_after(when, queue, block )" Grand Central Dispatch (GCD) function they can utilize but once it's set up, these calls can not be easily cancelled. Describe how you might implement a more convenient version of this named "cancellable_dispatch_after"
-
How could you cancel a block in the operation queue after it has been dispatched?
-
Complex question about GCD and blocks. Prepare yourself to talk about issues that may occur (deadlock, starvation, strong reference cycles).