Refactored all solutions

This commit is contained in:
rshaghoulian
2017-04-05 18:42:35 -05:00
parent 5f4c2f4a78
commit decc8e791e
135 changed files with 848 additions and 849 deletions
@@ -4,12 +4,11 @@
import java.util.Scanner;
// Runtime: O(n)
// Time Complexity: O(n)
// Space Complexity: O(1) by doing an "in place" rotation
public class Solution {
public static void main(String[] args) {
/* Read and save input */
public static void main(String [] args) {
/* Save input */
Scanner scan = new Scanner(System.in);
int size = scan.nextInt();
int numRotations = scan.nextInt();