added 4 solutions, READMEs, MIT LICENSE

This commit is contained in:
rshaghoulian
2017-02-12 00:31:12 -08:00
parent bcf11f24ff
commit 5ac5cfba70
92 changed files with 744 additions and 26 deletions
@@ -1,3 +1,7 @@
// Author: Rodney Shaghoulian
// Github: github.com/rshaghoulian
// HackerRank: hackerrank.com/rshaghoulian
import java.util.Scanner;
public class Solution {
@@ -8,8 +12,7 @@ public class Solution {
String s = scan.nextLine();
scan.close();
/* Must trim String to pass test cases. Still unclear why it's necessary */
s = s.trim();
s = s.trim(); // needed to pass test cases
/* Check special cases */
if (s.length() == 0) {