print all nodes K distance from root
1. Similar question K distance from given node
2. Similar quetison K distance from given node in a Graph
void kdistance(Node* root, int k){
    if(root){
        if(k == 0){
            std::cout<<"["<<root->data<<"]"<<std::endl;
        }else if(k > 0){
            kdistance(root->left, k-1);
            kdistance(root->right, k-1);
        }
    }
}