Easy java solution (Java Stream)
\njava []\nclass Solution {\n    public String[] uncommonFromSentences(String s1, String s2) {\n        return Arrays.stream((s1 + " " + s2).split(" "))\n      
\n```java []\nclass Solution {\n    public String[] uncommonFromSentences(String s1, String s2) {\n        return Arrays.stream((s1 + " " + s2).split(" "))\n                .collect(Collectors.groupingBy(Function.identity(), Collectors.counting()))\n                .entrySet().stream()\n                .filter(e -> e.getValue() == 1)\n                .map(Map.Entry::getKey)\n                .toArray(String[]::new);\n    }\n}\n```\n\n\n\n\n
['Java']