i
Saama Technologies
Filter interviews by
Count occurrences of a letter in a string.
Iterate through each character in the string and count occurrences of the specified letter.
Use a hashmap to store the count of each letter.
Handle both uppercase and lowercase letters to ensure accurate counting.
I applied via Naukri.com and was interviewed in Dec 2021. There were 4 interview rounds.
I applied via Recruitment Consultant and was interviewed in Apr 2020. There were 4 interview rounds.
Top trending discussions
posted on 12 Jan 2025
I applied via Naukri.com and was interviewed in Dec 2024. There were 2 interview rounds.
I applied via Naukri.com and was interviewed in Sep 2024. There were 5 interview rounds.
Leetcode easy level questions
Remove subsequent repetitions in a string
Iterate through the string and compare each character with the next one
If they are the same, remove the repetition by shifting the characters to the left
Repeat this process until all repetitions are eliminated
A URL shortener is a tool that takes a long URL and generates a shorter, more manageable link.
Generate a unique short code for each long URL
Store the mapping between short code and long URL in a database
Redirect users from short URL to original long URL when accessed
Unit test for a service class
Create a test class for the service class
Mock any dependencies of the service class
Write test methods to cover different scenarios
Use assertions to verify the expected outcomes
I applied via Naukri.com and was interviewed in Jul 2024. There were 2 interview rounds.
posted on 2 Aug 2024
posted on 10 Jun 2024
I applied via Naukri.com and was interviewed before Jun 2023. There were 3 interview rounds.
Coding test on java collections
Sorting a given array of strings
Use a sorting algorithm like quicksort or mergesort
Consider the length of the strings for comparison
Use a comparator function to define the sorting order
Use SQL query with ORDER BY and LIMIT to find second, third highest salary
Use ORDER BY salary DESC to sort salaries in descending order
Use LIMIT 1,1 to get the second highest salary
Use LIMIT 2,1 to get the third highest salary
Example: SELECT salary FROM employees ORDER BY salary DESC LIMIT 1,1
Example: SELECT salary FROM employees ORDER BY salary DESC LIMIT 2,1
1 Interview rounds
based on 26 reviews
Rating in categories
Senior Software Engineer
301
salaries
| ₹8.3 L/yr - ₹30 L/yr |
Software Engineer
283
salaries
| ₹4.5 L/yr - ₹16.8 L/yr |
Associate Software Engineer
177
salaries
| ₹3 L/yr - ₹8 L/yr |
Consultant
134
salaries
| ₹4.2 L/yr - ₹18 L/yr |
Data Engineer
113
salaries
| ₹5 L/yr - ₹19.4 L/yr |
Persistent Systems
TCS
Wipro
LTIMindtree