MCPcopy Index your code
hub / github.com/TheAlgorithms/JavaScript / find

Method find

Data-Structures/Tree/AVLTree.js:65–68  ·  view source on GitHub ↗

* TO check is a particular element exists or not * @param {any} _val * @returns {Boolean} exists or not

(_val)

Source from the content-addressed store, hash-verified

63 * @returns {Boolean} exists or not
64 */
65 find(_val) {
66 const temp = searchAVLTree(this.root, _val, this)
67 return temp != null
68 }
69
70 /**
71 *

Callers 3

UnionFindFunction · 0.80
UnionFind.test.jsFile · 0.80
AVLTree.test.jsFile · 0.80

Calls 1

searchAVLTreeFunction · 0.85

Tested by

no test coverage detected