Filter interviews by
posted on 19 Aug 2024
Top trending discussions
posted on 19 Jul 2021
posted on 6 Nov 2018
The question asks to count the number of occurrences of each character in a given string, ignoring case and wild card characters.
Convert the string to lowercase to ignore case.
Remove any wild card characters from the string.
Create an array of size 26 to store the count of each character.
Iterate through each character in the string and increment the count in the array accordingly.
Return the array of counts as the result
HashMap is used for efficient key-value pair storage and retrieval.
HashMap provides constant time complexity for basic operations like get and put.
It allows storing unique keys and their corresponding values.
HashMap is suitable for scenarios where fast lookup is required.
Other collections like ArrayList or LinkedList have different use cases and performance characteristics.
based on 1 interview
Interview experience
based on 2 reviews
Rating in categories
Process Associate
420
salaries
| ₹1.8 L/yr - ₹4 L/yr |
Senior Process Associate
140
salaries
| ₹2.7 L/yr - ₹6 L/yr |
Developer 2
63
salaries
| ₹8.7 L/yr - ₹24.6 L/yr |
Business Analyst
60
salaries
| ₹8 L/yr - ₹25.5 L/yr |
Team Lead
60
salaries
| ₹5.2 L/yr - ₹15 L/yr |
Yardi Systems
MRI Software
Buildium
Entrata