Many quality of code changes

Removing unused imports, cleaning up (at a base level) code, and removing some package declarations. By no means did I get all of them.
This commit is contained in:
Kenneth Nero
2017-10-26 19:56:18 -04:00
parent a0fd638b2a
commit 2a1fc02648
18 changed files with 954 additions and 24 deletions

View File

@@ -4,6 +4,11 @@
*/
import java.io.IOException;
import java.util.Arrays;
import java.util.Scanner;
import java.util.Stack;
public class Solution {
public static void main(String[] args) throws IOException {
@@ -30,7 +35,7 @@ public static void main(String[] args) throws IOException {
//Implementing Dijkshtra's Algorithm
Stack <Integer> t=new Stack<Integer>();
Stack<Integer> t=new Stack<Integer>();
int src=in.nextInt();
for(int i=1;i<=n;i++){
if(i!=src){t.push(i);}}