codesONLY / JavaScriptONLY

Knowledge Resource of core fundamentals of JavaScript explained in simple way!
378 stars 182 forks source link

MinimumDistanceBetweenBSTNodes.js #74

Closed gunjapandey closed 2 years ago

gunjapandey commented 2 years ago

In Binary Search trees, I've proposed a solution to one of the most renowned interview questions asked in the "FAANG" firms. Given the root of a Binary Search Tree (BST), return the minimum difference between the values of any two different nodes in the tree.

sohamsshah commented 2 years ago

Please rename the file in camelCase format. If you find other files with improper naming, feel free to correct them.

gunjapandey commented 2 years ago

made the change :)