i
Xapads Media
Filter interviews by
I applied via LinkedIn and was interviewed in Oct 2024. There was 1 interview round.
Synthetic Events are events that are created by the browser to mimic real user events.
Synthetic Events are used in React to handle events in a consistent manner across different browsers.
They are created by React to wrap native browser events and provide additional functionality.
Examples include onClick, onChange, and onSubmit events in React.
Event bubbling is the process where an event triggered on a child element is propagated up through its parent elements.
Event bubbling allows a single event handler to be attached to a parent element, which will be triggered for all its children.
When an event occurs on a child element, it first runs the event handlers on the child, then on its parent, and so on up the DOM tree.
Event bubbling can be stopped using event.s
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
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 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
Easy leetcode data structure question
Code for calling a REST API and designing a rate limiter
Use a library like requests or axios to make the API call
Implement a token bucket algorithm for rate limiting
Set a maximum number of requests per second and queue excess requests
Consider using a distributed rate limiter for scalability
Design a database schema for Instagram.
Create tables for users, posts, comments, likes, and follows.
Use primary and foreign keys to establish relationships between tables.
Store user data such as username, email, and password securely.
Include fields for post content, location, and timestamp.
Track likes and comments on posts.
Implement a notification system for follows and likes.
Consider scalability and performance in the...
Aptitude
Leetcode easy-medium
Cyber security is the practice of protecting systems, networks, and data from digital attacks.
Cyber security involves implementing measures to prevent unauthorized access, data breaches, and other cyber threats.
It includes technologies, processes, and practices designed to protect networks, devices, programs, and data from attack, damage, or unauthorized access.
Examples of cyber security measures include firewalls, ant...
Types of encryption include symmetric encryption, asymmetric encryption, and hashing.
Symmetric encryption: Uses the same key for both encryption and decryption, examples include AES and DES.
Asymmetric encryption: Uses a pair of public and private keys for encryption and decryption, examples include RSA and ECC.
Hashing: Converts data into a fixed-size string of bytes, examples include MD5 and SHA.
I was interviewed before Feb 2024.
English and reasoning
based on 1 interview
Interview experience
Assistant Manager
6
salaries
| ₹0 L/yr - ₹0 L/yr |
Senior Android Developer
5
salaries
| ₹0 L/yr - ₹0 L/yr |
Senior Media Manager
4
salaries
| ₹0 L/yr - ₹0 L/yr |
Ad Operations Manager
4
salaries
| ₹0 L/yr - ₹0 L/yr |
Media Sales Executive
4
salaries
| ₹0 L/yr - ₹0 L/yr |
Komli Media
InMobi
Deloitte Digital
Affle