Citi Interview Question

some basic probability questions and some basic coding questions related to binary tree