For non leaf node where p is the order of non leaf
minimum keys=$\lceil$$\frac{p}{2}$ $\rceil$ $-1$
maximum keys=p-1
Now for the leaf node
minimum keys =$\lceil$$\frac{p}{2}$ $\rceil$
maximum keys =p
because the order of leaf node is the maximum no of keys value pair in the leaf node