leetcode icon indicating copy to clipboard operation
leetcode copied to clipboard

Update 0020-valid-parentheses.java and 0704-binary-search.java

Open deyjishnu opened this issue 2 years ago • 1 comments

- File Modified: 0020-valid-parentheses.java

  • Language(s) Used: Java
  • Submission URL: https://leetcode.com/problems/valid-parentheses/submissions/944836710/
  • Reason:
    • Use correct APIs of Stack in Java - uses the process explained in video
    • Remove the first solution that requires more steps and not explained in video

- File Modified: 0704-binary-search.java

  • Language(s) Used: java
  • Submission URL: https://leetcode.com/problems/binary-search/submissions/944866258/
  • Reason:
    • Update solution with more concise and easily readable code
    • Use variable names as used in video

deyjishnu avatar May 05 '23 09:05 deyjishnu

Hi!

You have some conflicts, could you look them over.

Also. multiple solutions on the same file are OK, there is no need to remove them. As long as you separate the solutions, and you could state what type of solution it is. You can state also which is as in the video, or put them first to make it easier to find.

Thanks.

a93a avatar May 06 '23 12:05 a93a