LeetCode Java problem.
Solution for LeetCode problem. If interested the following is the URL for the description of the problem:
https://leetcode.com/problems/two-sum/
If interested in my comments and approach, you can get to the following post in my blog:
https://www.johncanessa.com/2020/08/11/sum-two/
Thanks and enjoy;
John