Skip to content

Adding Harshit_Maharshi.java file #2

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Harshit-9398
Copy link

first assignment

String[] m = new String[n];
int[] j = new int[n];
Arrays.fill(j,-1);
for(i=0;i<n;i++)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please use a separate method to get the output & give proper names to the local variables. And please do proper indentation(format) in your code.

@@ -0,0 +1,26 @@
import java.io.*;
import java.util.*;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Instead of import all classes of util & io, import only the used classes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants