Filter interviews by
I applied via Approached by Company and was interviewed in Mar 2022. There were 3 interview rounds.
Minimum number of swaps required to make a given array of strings a palindrome.
Create a hash table to store the frequency of each character in the array.
Iterate through the array and count the number of characters with odd frequency.
If the count is greater than 1, the array cannot be rearranged into a palindrome.
Otherwise, use two pointers to swap characters and count the number of swaps required to make the array a pa
Top trending discussions
based on 2 reviews
Rating in categories
Software Engineer
36
salaries
| ₹6 L/yr - ₹11.9 L/yr |
Member Technical Staff
31
salaries
| ₹5 L/yr - ₹10.9 L/yr |
Software Development Engineer
29
salaries
| ₹7 L/yr - ₹14.8 L/yr |
Technical Content Writer
28
salaries
| ₹1 L/yr - ₹6.2 L/yr |
Software Developer
27
salaries
| ₹5.2 L/yr - ₹14 L/yr |
CodeChef
HackerRank
upGrad
Simplilearn