double linked list to implement subarray covering subset problem
hash code for a binary tree