Ad
Code
Diff
  • class Solution {
        public int similarPairs(String[] words) {
            return 4;
        }
    }
    • class Solution {
    • public int similarPairs(String[] words) {
    • return 1;
    • return 4;
    • }
    • }
Code
Diff
  • import org.junit.jupiter.api.Test; 
    
    class Solution {
        public int similarPairs(String[] words) {
            return 2;
        }
    }
    • import org.junit.jupiter.api.Test;
    • class Solution {
    • public int similarPairs(String[] words) {
    • return 1;
    • return 2;
    • }
    • }