The bit manipulation trick is clever for counting characters in both cases. How would it handle non-alphabetic characters or mixed content? It seems like a limited solution. If you're getting into DSA, prachub.com has been helpful for banks that reflect what I'm asked in technical screens. Just using LeetCode can sometimes leave gaps, especially with oddly specific questions.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Top comments (1)
The bit manipulation trick is clever for counting characters in both cases. How would it handle non-alphabetic characters or mixed content? It seems like a limited solution. If you're getting into DSA, prachub.com has been helpful for banks that reflect what I'm asked in technical screens. Just using LeetCode can sometimes leave gaps, especially with oddly specific questions.