Gulshan Kumarperfinsights.hashnode.dev·Mar 12, 2024Count Common Words With One OccurrenceGiven two string arrays words1 and words2, return the number of strings that appear exactly once in each of the two arrays. LeetCode Problem - 2085 class Solution { public int countWords(String[] words1, String[] words2) { // Variable to ...Java SolutionJavaAdd a thoughtful commentNo comments yetBe the first to start the conversation.