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.
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 -
I have mentioned the question as comment in my solution file.
My code follows the guidelines of this project.
I have performed a self-review of my own code.
I have commented my code.
My code gives the correct output.
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.
I affirm that I strictly follow contributing guidelines and code of conduct.