Faster and better experience!
i
CleverTap
Filter interviews by
2 pointer and Hashing
LRU cache is a data structure that stores a fixed number of items and removes the least recently used item when full.
Use a doubly linked list to keep track of the order of items based on their usage.
Use a hashmap to quickly access items in the cache.
When an item is accessed, move it to the front of the linked list to mark it as the most recently used.
When adding a new item, check if the cache is full and remove the lea...
I was interviewed before Oct 2023.
It was a simple time/space complexity trade-off OA
Top trending discussions
Algorithms for manipulating arrays and strings in coding
Use sorting algorithms like quicksort and mergesort for arrays
Use string manipulation functions like substring and replace for strings
Use dynamic programming for optimizing solutions to array and string problems
Designing a large scale Ad Server
Use distributed systems for scalability
Implement caching for faster ad delivery
Ensure high availability and fault tolerance
Use real-time bidding for efficient ad placement
Implement fraud detection mechanisms
Ensure compliance with privacy regulations
I applied via Campus Placement
I am an avid traveler and have visited over 20 countries
I love experiencing new cultures and trying new foods
I have backpacked through Europe and Asia
I have volunteered in orphanages in Cambodia and Nepal
Mobile advertising platform
Adtech
Mobile marketing
App monetization
Maximum sub sequence sum in an array
Use Kadane's algorithm
Initialize max_so_far and max_ending_here to 0
Iterate through the array and update max_ending_here and max_so_far
Return max_so_far
Endianness refers to the byte order of a system. It determines how multi-byte data types are stored in memory.
Little-endian systems store the least significant byte first, while big-endian systems store the most significant byte first.
Endianness can affect the way data is transmitted between systems.
To determine the endianness of a system, you can use the byte order mark (BOM) or write a test program that checks the by...
Sort an array of 0's and 1's only.
Use two pointers, one at the beginning and one at the end of the array.
Swap 0's from the beginning with 1's from the end until the pointers meet.
Alternatively, use a counting sort algorithm to count the number of 0's and 1's and then reconstruct the array.
Heaps are data structures used to efficiently find the maximum or minimum element in a collection.
Max heap: parent nodes are always greater than or equal to child nodes
Min heap: parent nodes are always smaller than or equal to child nodes
Heaps are commonly used in priority queues and sorting algorithms
Heap operations include insert, delete, and extract max/min
Example: An array [3, 8, 2, 5, 1, 4, 6] can be represented a
Find 3 numbers in an array where a+b=c.
Loop through the array and check for all possible combinations of a and b.
Use a hash table to store the values of a and b, and check if c is present in the hash table.
Sort the array and use two pointers to find a and b, and then check if their sum equals c.
I applied via Referral
I applied via Campus Placement and was interviewed before May 2022. There were 3 interview rounds.
4 questions on Data Structure .
Online Mode
I applied via LinkedIn
Generator functions and symbols in JavaScript. Implementation of const keyword in ES5.
Generator functions are functions that can be paused and resumed, allowing for lazy evaluation of data.
Symbols are a new primitive type in ES6 that can be used as unique identifiers.
To implement const in ES5, we can use Object.defineProperty to create a read-only property on an object.
Custom events are user-defined events that can be triggered in a software application.
Custom events can be defined using event listeners and dispatchers.
They can be used to track user behavior, monitor application performance, and trigger specific actions.
Examples of custom events include button clicks, form submissions, and page scrolls.
Null is absence of value while object is a collection of properties and methods.
Null is a primitive value while object is a complex data type.
Null is used to indicate absence of value while object is used to represent real-world entities.
Null cannot have properties or methods while object can have both.
Example of null: let x = null; Example of object: let person = { name: 'John', age: 30 };
based on 2 interviews
Interview experience
Customer Success Manager
48
salaries
| ₹0 L/yr - ₹0 L/yr |
Technical Account Manager
24
salaries
| ₹0 L/yr - ₹0 L/yr |
Software Engineer
21
salaries
| ₹0 L/yr - ₹0 L/yr |
Senior Software Engineer
17
salaries
| ₹0 L/yr - ₹0 L/yr |
Customer Success Engineer
16
salaries
| ₹0 L/yr - ₹0 L/yr |
MoEngage
Netcore Cloud Private Limited
WebEngage
Freshworks