Easy to Understand Java code || Beats 100%
Complexity\n- Time complexity:\nO(n)\n- Space complexity:\nO(1)\n# Code\n\nclass Solution {\n    public boolean isAcronym(List<String> words, String s) {\n     
# Complexity\n- Time complexity:\nO(n)\n- Space complexity:\nO(1)\n# Code\n```\nclass Solution {\n    public boolean isAcronym(List<String> words, String s) {\n        if(words.size() != s.length()){\n            return false;\n        }\n        \n        for(int i=0; i<words.size(); i++){\n            if(s.charAt(i) != words.get(i).charAt(0)){\n                return false;\n            }\n        }\n        return true;\n    }\n}\n```
['Java']