Highbridge Capital Interview Question
Front-end Software Engineers<pre lang="" line="1" title="CodeMonkey26958" class="run-this">/* The class name doesn't have to be Main, as long as the class is not public. */
class Main
{
public static void main (String[] args) throws java.lang.Exception
{
java.io.BufferedReader r = new java.io.BufferedReader (new java.io.InputStreamReader (System.in));
String s;
while (!(s=r.readLine()).startsWith("42")) System.out.println(s);
}
}
</pre><pre title="CodeMonkey26958" input="yes">
</pre>
8x8 matrix with e byte in each. numbers 0 to 7 represent empty, pawn, rook, knight, bishop, queen, king.
- h August 25, 2010