Simple Java Solution With Explanation Leetcode Discuss

Simple Java Solution With Explanation Leetcode Discuss