Java-Questions-and-Solutions icon indicating copy to clipboard operation
Java-Questions-and-Solutions copied to clipboard

Merge

Open RAshid602 opened this issue 3 years ago • 2 comments

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) -

merge1 merge2

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.

RAshid602 avatar Oct 10 '21 14:10 RAshid602

Done. let me know if there us something to change.😊

RAshid602 avatar Oct 10 '21 14:10 RAshid602

@SarthakKeshari I am sorry, but I cannot approve this PR with current changes. I will let you decide now.

ravi0213 avatar Oct 12 '21 16:10 ravi0213