Fortinet Interview Question

delete node in linked list, tree, convert decimal to binary and find the 1's position