Tokopedia
10+ ECIL Interview Questions and Answers
Q1. How would you handle deadlines?
I prioritize tasks, communicate with stakeholders, and adjust resources as needed to meet deadlines.
Prioritize tasks based on importance and urgency
Regularly communicate with stakeholders to provide updates and address any issues that may impact deadlines
Adjust resources or seek help from team members if necessary to meet deadlines
Q2. Reverse the linked list
Reverse a linked list
Iterative approach using three pointers
Recursive approach with base case and recursive call
In-place reversal using stack
Q3. Design Facebook
Designing Facebook involves creating a social networking platform with features like user profiles, news feed, messaging, and more.
Create a user registration and login system
Develop a news feed algorithm to display relevant content
Implement a messaging system for users to communicate
Design a user profile page with customizable options
Incorporate features like groups, events, and pages
Ensure scalability and security of the platform
Q4. How can we improve the performance of a Front End System
Improving Front End System Performance
Optimize images and reduce their size
Minimize HTTP requests and use caching
Use lazy loading for images and videos
Reduce the number of DOM elements
Use a Content Delivery Network (CDN)
Minimize the use of external scripts and plugins
Use asynchronous loading for scripts
Optimize CSS and JavaScript files
Use browser caching
Implement server-side rendering
Q5. What is Event Loop and give an example on how it works.
Event Loop is a mechanism that allows JavaScript to handle multiple tasks simultaneously.
Event Loop is a part of JavaScript runtime that continuously checks the call stack and the task queue.
It prioritizes the tasks in the queue and pushes them to the call stack when it's empty.
This allows JavaScript to handle I/O operations and other asynchronous tasks without blocking the main thread.
Example: setTimeout() function adds a task to the task queue and the Event Loop schedules i...read more
Q6. Why data? Why Tokopedia? Talk about bachelor's thesis?
Data analysis is crucial for making informed decisions. Tokopedia's vast data provides a great opportunity for analysis. My bachelor's thesis focused on data-driven insights.
Data allows for informed decision-making and insights.
Tokopedia's extensive data provides a valuable opportunity for analysis.
My bachelor's thesis delved into data-driven insights and analysis.
Q7. What is coalesce and reparation in Apache spark
Coalesce is used to reduce the number of partitions in a DataFrame or RDD, while repartition is used to increase the number of partitions.
Coalesce is a narrow transformation that can only decrease the number of partitions.
Repartition is a wide transformation that can increase or decrease the number of partitions.
Coalesce is preferred over repartition when reducing the number of partitions.
Repartition shuffles the data across the cluster, which can be an expensive operation.
Ex...read more
Q8. What is failable initialisers
Failable initialisers are initialisers that can return nil instead of an instance of the class.
Failable initialisers are denoted by placing a question mark after the init keyword.
They are commonly used to handle invalid input or to fail gracefully.
Example: init?(name: String) { if name.isEmpty { return nil } }
Failable initialisers can be used with optional binding to safely unwrap the returned instance.
Q9. Design a chat application
Design a chat application for real-time communication
Use WebSocket for real-time communication
Implement user authentication and authorization
Include features like group chat, private messaging, and file sharing
Design a responsive and user-friendly interface
Ensure data security and privacy
Q10. Design a payment gateway
Design a payment gateway for online transactions
Implement secure encryption for data transmission
Integrate with various payment methods like credit cards, PayPal, etc.
Provide error handling and transaction logging for troubleshooting
Ensure compliance with PCI DSS standards for data security
Interview Process at ECIL
Top Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month