Meta Interview Question

Implement DOMStore class with set(node, value), get(node) and has(node) methods.