What is wrong with the names of 2-ethyl-4 and 4-dimethylpentane?
it should be 4-ethyl-2,2-dimethylpentane
please check that maximum substituents should get lowest number.In your naming 4,4 is the big number given to two methyls.This is also called as lowest locant rule