Added code to check if bst corresponding to given pre order traversal contains internal nodes with only one child. Full problem at http://www.geeksforgeeks.org/check-if-each-internal-node-of-a-bst-has-exactly-one-child/