Filter interviews by
Use array flat method to convert nested array into single array of strings.
Use array.flat() method to flatten the nested array.
Make sure the nested array is an array of strings.
Example: let nestedArray = [['apple', 'banana'], ['orange', 'grape']]; let singleArray = nestedArray.flat();
Swap vowels in a string and output the remaining characters.
Create a function that takes a string as input
Iterate through each character in the string and swap vowels with each other
Return the modified string with swapped vowels
Top trending discussions
I appeared for an interview before Sep 2020.
Round duration - 90 minutes
Round difficulty - Easy
This round was held during university hours and consisted of 2 coding questions.
Round duration - 120 minutes
Round difficulty - Easy
Make sure you do no cutting and are clear about the approach you'd be following.
Running median of an input stream is the median value of the numbers seen so far in a continuous stream of data.
Maintain two heaps - a max heap for the lower half of the numbers and a min heap for the upper half.
Keep the number of elements in the two heaps balanced or differ by at most 1.
If the total number of elements is odd, the median is the root of the max heap. If even, it is the average of the roots of the two he...
Prepare for company-wise interview questions according to the company in which you are applying. Try to write the code yourself and if got stuck in between then take help from the internet. I recommend you Codezen of Coding Ninjas for practicing Data Structures and Algorithms based questions.
Application resume tips for other job seekersBe sure 100% of what you write in your resume and prepare for that before the interview what is written on resume.
Final outcome of the interviewSelectedI applied via Recruitment Consulltant and was interviewed before Jan 2021. There were 2 interview rounds.
Python coding test
posted on 20 Jan 2015
The code inserts a given string at the specified position in a compact data structure that stores strings sequentially.
To insert the string at the ith place, we need to shift all the strings after the ith position by the length of the new string.
We can use a loop to iterate through the data structure and find the ith position.
After finding the ith position, we can calculate the new length of the data structure and allo...
Constructing parse tree for ((a+b)*c)/d using data structures.
Use stack data structure to keep track of operators and operands.
Start with the innermost parentheses and work outwards.
Create a node for each operator and operand and link them together.
The root node will be the final result of the expression.
Example: ((a+b)*c)/d can be represented as / -> * -> + -> a, b, c, d.
Verify if all substrings of a string satisfy a hidden criterion using a function f.
Define a function that generates all possible substrings of the input string.
Use a loop to check each substring with the function f.
Return false immediately if any substring does not satisfy the criterion.
Example: For input 'abc', substrings are 'a', 'b', 'c', 'ab', 'bc', 'abc'. Check each with f.
Merge 'n' identical linked lists from 'n' salespersons to handle insertions, deletions, and updates.
Iterate through each linked list and merge them into a single linked list
Handle insertions, deletions, and updates by traversing the merged list and making necessary changes
Repeat the process for the next day by resetting the merged list
posted on 23 Mar 2015
posted on 23 Mar 2015
based on 1 interview experience
based on 2 reviews
Rating in categories
Solution Engineer
20
salaries
| ₹2.5 L/yr - ₹5.2 L/yr |
Senior Product Designer
7
salaries
| ₹19.8 L/yr - ₹19.9 L/yr |
Product Designer
7
salaries
| ₹19.9 L/yr - ₹25 L/yr |
Technical Support Lead
7
salaries
| ₹10.6 L/yr - ₹20 L/yr |
UI Developer
6
salaries
| ₹4.7 L/yr - ₹7.5 L/yr |
Teleperformance
Amazon
iEnergizer
Deloitte