Created
February 22, 2012 05:39
-
-
Save taybenlor/1881734 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
int maxlen = max(a.length, b.length, c.length); | |
for(int i = 0; i < maxlen; i++){ | |
int ai = max(a.length - i, 0); | |
int bi = max(b.length - i, 0); | |
int ci = max(c.length - i, 0); | |
//dostuff | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment