Intel Corporation interview question

1. Copy a single linked list, where each node has a pointer to the next node and another pointer to an arbitrary node from that list. 2. Describe the advantages and disadvantages of a new way to represent bits of an integer.

Interview Answer

Anonymous

Aug 28, 2015

for the second question i can say that you can save a node for each bit , and if there is over flow , simply you can add extra node to the list