1 votes 1 votes How to prove that if no of leaf nodes in a B+ tree is n then total no of keys in internal nodes will be n-1. I am able 2 prove it by taking min no of nodes or maximum no of nodes but how 2 prove in a generalized way ?? Databases databases + – saurabh rai asked Nov 16, 2016 saurabh rai 378 views answer comment Share Follow See all 2 Comments See all 2 2 Comments reply vijaycs commented Nov 17, 2016 reply Follow Share I am trying to give one logic to prove this - Whenever there is an overflow in a leaf node( or whenever no of leaf node increases by one) , then we move a key in the internal node( or we can say, no of internal keys increases by one). Now let's start with the base case. - Only one node. or root node. no internal key. Once there is an overflow in a single root node then no of leaf nodes now would become 2 and at the same the time we will have one key in our new root node. Similarly, .. ...... Am I right ? 1 votes 1 votes saurabh rai commented Nov 17, 2016 reply Follow Share that is ok ..... u r right actually u can prove it mathematicaly by taking min or max no of nodes so i m thinking that there may b similar proof in general... 0 votes 0 votes Please log in or register to add a comment.