Filter interviews by
I applied via Naukri.com and was interviewed in Oct 2023. There were 2 interview rounds.
Top trending discussions
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.
Interview experience
based on 1 review
Rating in categories
Software Engineer
433
salaries
| ₹2.2 L/yr - ₹9.6 L/yr |
Data Entry Operator
426
salaries
| ₹0.8 L/yr - ₹3.2 L/yr |
Processor
419
salaries
| ₹1 L/yr - ₹3 L/yr |
Test Analyst
190
salaries
| ₹3 L/yr - ₹10.5 L/yr |
Senior Software Engineer
183
salaries
| ₹3 L/yr - ₹12 L/yr |
WNS
Quess
Firstsource Solutions
HGS