The neat nawk solution will not always provide the same solution independent of line ordering though...
something like:
Code:
awk '{if ( length($0) > length(a[$1]) ) {a[$1]=$0}} END {for (i in a){print a[i]}}' file
will ensure you get the longest line (if that is a requirement).