What is the purpose of the // for left subtree
(int left = x * 2 + 1;
// for right subtree
int right = x * 2 + 2;)
in the code given in the image .

We're a place where coders share, stay up-to-date and grow their careers.
What is the purpose of the // for left subtree
(int left = x * 2 + 1;
// for right subtree
int right = x * 2 + 2;)
in the code given in the image .
Dave -
pakainfo -
pakainfo -
Gapry -
Discussion (0)