Java-Questions-and-Solutions
Java-Questions-and-Solutions copied to clipboard
Merge
Issue Id you have worked upon -
#364
Briefly explain your program logic -
There are numbers way to this here is one of them i).Simply set a variable from last of 1st array and set a variable from 1stof 2nd array ii). if element of 2nd array is greater than 1st than swap iii).Sort the Array1 iv).Sort the Array2 v).Print the Answer.
Screenshots(Attach 2 screenshots of your own input and output) -
Checklist:
Eg - If your code follow the below guidelines. Kindly change [] to [x]
All the conditions should be fulfilled for considering your code for merging -
-
[x] I have mentioned the question as comment in my solution file.
-
[x] My code follows the guidelines of this project.
-
[x] I have performed a self-review of my own code.
-
[x] I have commented my code.
-
[x] My code gives the correct output.
-
[x] I confirm that I have not copied the code from anywhere. In case its found that I have copied even after successful merge then I can be banned from the repository and hacktoberfest.
-
[x] I affirm that I strictly follow contributing guidelines and code of conduct.
Done. let me know if there us something to change.😊
@SarthakKeshari I am sorry, but I cannot approve this PR with current changes. I will let you decide now.