Open
Conversation
sadhanaa21
reviewed
May 12, 2023
| } | ||
|
|
||
| public void bfs_main(int start) { | ||
| Queue<Integer> q = new LinkedList<>(); |
There was a problem hiding this comment.
Using predefine Collection framework classes is not allowed.
| } | ||
| } | ||
|
|
||
| class Operation{ |
There was a problem hiding this comment.
Class name should be relevant, related and should follow Java standard naming conventions.
| System.out.println("Enter 6 to exit."); | ||
| System.out.println("Enter your choice. "); | ||
| int option; | ||
| while(true){ |
There was a problem hiding this comment.
Using switch case will be more appropriate.
| System.out.println(); | ||
|
|
||
| } | ||
| } |
| } | ||
|
|
||
| } | ||
| public static void main(String[] args) { |
There was a problem hiding this comment.
Exceptions should be handled in each and every program.
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
I have learned java. Using that I have implemented few concepts of data structure i.e., LinkedList, Queue, Stack, Tree, Graph, HashMap. I also learned the various techniques of HashMap.
Created wiki for the same. I have learned about git and git hub. Few commands in git from which I was unaware of. This Module really helped me in building my confidence in DSA.
Thanks to all my mentors.