Filter interviews by
Combination sum given a array find the target sum
posted on 11 Jan 2022
I applied via Campus Placement and was interviewed in Jul 2021. There were 6 interview rounds.
posted on 15 Nov 2022
I appeared for an interview in May 2022.
Design Instagram's high-level architecture.
Use a microservices architecture to handle different functionalities like user authentication, image storage, and feed generation.
Use a NoSQL database like MongoDB to store user data and images.
Use a content delivery network (CDN) to serve images and videos to users quickly.
Implement a caching layer to improve performance and reduce database load.
Use a message broker like Rabb...
Design Instagram, a photo and video sharing social media platform.
Use a scalable architecture with load balancing and caching.
Store media files in a distributed file system like Amazon S3.
Use a relational database for storing user data and metadata.
Implement a content delivery network (CDN) for faster content delivery.
Use machine learning algorithms for personalized content recommendations.
Implement security measures l...
posted on 23 Nov 2022
I applied via Approached by Company and was interviewed in May 2022. There were 3 interview rounds.
I am currently working as a Software Development Engineer with expertise in web development and cloud computing.
Proficient in programming languages like Java, Python, and JavaScript
Experience in developing and maintaining web applications using frameworks like React and Angular
Knowledge of cloud computing platforms such as AWS and Azure
Familiarity with database management systems like MySQL and MongoDB
Strong problem-so
posted on 11 Sep 2022
I applied via Approached by Company and was interviewed before Sep 2021. There was 1 interview round.
Merge sort and heap sort are two popular sorting algorithms used in computer science.
Merge sort is a divide-and-conquer algorithm that recursively divides the input array into two halves, sorts them, and then merges them back together.
Heap sort is a comparison-based sorting algorithm that uses a binary heap data structure to sort elements.
Merge sort has a time complexity of O(n log n) and is stable, while heap sort has...
Time complexities of sort algorithms
Bubble sort - O(n^2)
Selection sort - O(n^2)
Insertion sort - O(n^2)
Merge sort - O(n log n)
Quick sort - O(n log n)
Heap sort - O(n log n)
posted on 21 Nov 2022
I applied via LinkedIn and was interviewed in May 2022. There was 1 interview round.
The time complexity of the program is O(nlogn).
The program has a divide and conquer algorithm.
The program has nested loops.
The program has a recursive function.
Design an algorithm with less time complexity.
Use efficient data structures like hash tables, binary trees, etc.
Avoid nested loops and recursion if possible.
Try to optimize the code by reducing redundant operations.
Use dynamic programming to solve complex problems.
Consider parallel processing for large datasets.
Use built-in functions and libraries instead of writing custom code.
Profile the code to identify bottlenecks
To increase newspaper sales in the locality, I would focus on improving content, distribution, and marketing strategies.
Conduct market research to understand readers' preferences and interests
Create engaging and informative content that caters to the local audience
Offer attractive subscription packages and discounts to encourage regular readership
Partner with local businesses and events to increase visibility and distr...
I would like to add a feature that suggests nearby events and attractions based on user preferences.
Personalized event and attraction recommendations
Integration with ticketing platforms for revenue sharing
Increased user engagement and retention
posted on 10 Mar 2015
Algorithm to find 2 numbers in an array whose sum is equal to a target integer
Use a hash table to store the difference between target and each element in the array
Iterate through the array and check if the current element exists in the hash table
Return the pair of elements that sum up to the target integer
Write a select statement to retrieve work of all users who belong to my team.
Join USERS and WORK tables on user_id
Join MANAGERS and USERS tables on team
Filter by manager_id
The manifest.json file contains the most important information of a Chrome extension.
The manifest.json file includes the version number, permissions, content scripts, background scripts, and other important details.
It is located in the root directory of the extension.
It is required for all Chrome extensions.
Example: "manifest_version": 2, "version": "1.0", "permissions": ["tabs", "storage"]
Hashtable is faster for finding an item than a sorted list.
Hashtable has constant time complexity O(1) for finding an item.
Sorted list has logarithmic time complexity O(log n) for finding an item.
Hashtable uses hashing to directly access the item's location.
Sorted list requires binary search to find the item's location.
Hashtable is ideal for large datasets with frequent lookups.
Sorted list is ideal for datasets that re
JSON and XML are the most popular data interchange formats when using APIs.
JSON (JavaScript Object Notation) is a lightweight format that is easy to read and write. It is widely used in web APIs.
XML (Extensible Markup Language) is a more complex format that is also widely used in web APIs.
Other formats include CSV (Comma Separated Values), YAML (YAML Ain't Markup Language), and Protocol Buffers.
Popular APIs for Social Commerce services
Facebook Graph API for social media integration
Instagram API for photo sharing and tagging
Twitter API for real-time updates and customer engagement
Pinterest API for product discovery and sharing
Google Maps API for location-based services
PayPal API for secure payment processing
Use a script to iterate through each HTML page, locate phone numbers, and update their format.
Write a script using a programming language like Python or JavaScript to iterate through each HTML page
Use regular expressions to locate phone numbers in the pages
Update the format of the phone numbers as needed (e.g. adding country code, changing separators)
Save the updated HTML pages with the new phone number format
Designing Google Suggest system
I would start by analyzing user search patterns and frequently searched keywords
Then, I would create a database of these keywords and their associated search results
I would use indexing services to quickly retrieve relevant results for each keyword
I would also implement machine learning algorithms to improve the accuracy of suggestions over time
Check if a number is a power of 2 and odd.
To check if a number is a power of 2, use bitwise AND operator with the number and its predecessor. If the result is 0, it is a power of 2.
To check if a number is odd, use modulus operator with 2. If the result is 1, it is odd.
Example code in Python:
def is_power_of_two(num):
return num & (num - 1) == 0
def is_odd(num):
return num % 2 == 1
By introducing new menu items, optimizing pricing strategy, and improving the overall dining experience.
Conduct a survey to understand the preferences of employees
Introduce healthy and affordable meal options
Offer discounts for bulk orders or loyalty programs
Partner with local vendors to source fresh ingredients
Improve the ambiance and seating arrangements
Implement online ordering and delivery services
Reviewing 30 million ads from 42 languages in Google AdWords and rejecting non-compliant ads requires a systematic approach.
Create a set of specific rules and guidelines for ad compliance
Use automated tools to filter out ads that violate the rules
Assign a team of reviewers to manually check the remaining ads
Ensure that the reviewers are fluent in the languages of the ads they are reviewing
Regularly update the rules and...
based on 1 interview
Interview experience
Retail Store Manager
7
salaries
| ₹2.1 L/yr - ₹6 L/yr |
Store Manager
5
salaries
| ₹2.7 L/yr - ₹3.2 L/yr |
Operations Manager
4
salaries
| ₹11.9 L/yr - ₹11.9 L/yr |
Fashion Designer
4
salaries
| ₹3.8 L/yr - ₹8 L/yr |
Cognizant
Teleperformance
iEnergizer
Reliance Retail