You have a mixed pile of N left socks and M right socks, where N is not equal to M: there are a few odd socks!
Write a Java program to quickly find the odd socks. One way to do it would be to arrange them in a symbol table implementation, removing an entry when its mate is found. At the end of the program, print the odd socks out on the standard output.
You are given some text files full of socks, in the form LXXX and RYYY, where XXX and YYY are numbers. Matching socks are of the form LXXX and RXXX.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here