Filter interviews by
Trains,ratio,charts,english grammar
Top trending discussions
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
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