Skip to content

Instantly share code, notes, and snippets.

@AndroidHumanoid
AndroidHumanoid / gist:7241202
Last active December 27, 2015 00:59
Twitter puzzle by Michael Kozakov
http://qandwhat.apps.runkite.com/i-failed-a-twitter-interview/
https://gist.github.com/mkozakov/59af0fd5bddbed1a0399
My solution:
public class Ideone {
public static void main(String[] args) {
int[] myIntArray = {2, 5, 1, 3, 1, 2, 1, 7, 7, 6};