Interview Practice 15 – Mirror Image of Binary Tree

Question Construct 2 algorithms to make mirror image of any binary tree inputs, one of them using recursive method, another one using looping method. Mirror image means a binary tree that is the horizontal reflection of the original tree. Solution First, to do it in recursive method, we can perform pre-order traversal as usual, see preference….

Read more...

Take a Screenshot on Samsung Galaxy S2 after the Upgrade to Ice Cream Sandwich

Thank you for checking out this tutorial. Reading the discussions in this post, seems like there is quite a number of people having troubles to take screenshots with Galaxy S2. To clear any confusions, I summarized some information and added as followings. Hope you could make it too. Fingers crossed. First, make sure your Galaxy…

Read more...

Take a Screenshot on Samsung Galaxy S2

Press and hold home and tap the power button. This is the magic key for Samsung Galaxy S2 to take a screenshot. It has been such a good news for users like me who used to use iPhone. Somehow it is just the same as the iPhone setting. Actually some of the recent released mobile…

Read more...