Filter interviews by
I applied via Approached by Company and was interviewed before Jan 2022. There were 3 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.
based on 1 review
Rating in categories
SAP Hana Consultant
135
salaries
| ₹5 L/yr - ₹16.5 L/yr |
Associate Engineer
91
salaries
| ₹2.8 L/yr - ₹7 L/yr |
SAP Basis Consultant
70
salaries
| ₹3.5 L/yr - ₹11 L/yr |
Principal Engineer
50
salaries
| ₹12.5 L/yr - ₹29.7 L/yr |
Senior Engineer
49
salaries
| ₹5.6 L/yr - ₹20 L/yr |
CtrlS
Sify Technologies
Web Werks
Nxtgen Datacenter Cloud Technologies