JAVA Easy Solution 🔥100% Faster Code 🔥Beginner Friendly🔥
\n# Complexity\n- Time complexity: O(n)\n Add your time complexity here, e.g. O(n) \n\n- Space complexity: O(1)\n Add your space complexity here, e.g. O(n) \n\n
\n# Complexity\n- Time complexity: $$O(n)$$\n<!-- Add your time complexity here, e.g. $$O(n)$$ -->\n\n- Space complexity: $$O(1)$$\n<!-- Add your space complexity here, e.g. $$O(n)$$ -->\n\n# Code\n```\nclass Solution {\n    public int countSeniors(String[] details) {\n        int count = 0;\n        for (String detail : details)\n            if (((detail.charAt(11) - \'0\') * 10) + (detail.charAt(12) - \'0\') > 60)\n                count++;\n        return count;\n    }\n}\n```
['Java']