CODE 2 is not possible because 0 is prefix of 00.
CODE 3 is also not possible because here the number of characters are 3. So, the possible tree structure corresponding to this CODE cannot be generated using haffman coding.
The possible tree strucutes are
