Add office photos
Employer?
Claim Account for FREE

Meta

4.4
based on 60 Reviews
Filter interviews by

20+ OkayGo Interview Questions and Answers

Updated 18 Nov 2024

Q1. How would you efficiently calculate the sum of such a matrix?

Ans.

Efficiently calculate the sum of a matrix

  • Iterate through each element in the matrix and add them to a running total

  • Use parallel processing or multi-threading to calculate the sum faster

  • Consider using optimized algorithms like Strassen's algorithm for matrix multiplication

Add your answer

Q2. Return the substring in a main string, which is composition of given string

Ans.

Find and return all substrings in a main string that match a given string.

  • Iterate through the main string and check for matches with the given string

  • Use substring function to extract potential matches

  • Store all matching substrings in an array and return it

Add your answer

Q3. How would you represent a sparse matrix?

Ans.

A sparse matrix can be represented using a dictionary of dictionaries or a list of lists.

  • Use a dictionary of dictionaries where the keys are the row and column indices with non-zero values as values.

  • Alternatively, use a list of lists where each inner list represents a row with non-zero values and their column indices.

  • Sparse matrices are efficient for large matrices with mostly zero values.

  • Example: {0: {1: 5, 3: 7}, 2: {2: 3}} represents a 3x4 matrix with non-zero values at (0...read more

Add your answer

Q4. Design a metrics tracker

Ans.

A metrics tracker to monitor and analyze key performance indicators

  • Define the key metrics to track (e.g. user engagement, conversion rates)

  • Implement a data collection system to gather relevant data

  • Create visualizations and reports to analyze the metrics

  • Set up alerts for abnormal metric values

  • Regularly review and update the metrics based on business goals

Add your answer
Discover OkayGo interview dos and don'ts from real experiences

Q5. make balanced parenthesis

Ans.

Use a stack to ensure balanced parenthesis in a string

  • Iterate through each character in the string

  • If the character is an opening parenthesis, push it onto the stack

  • If the character is a closing parenthesis, pop from the stack and check if they match

  • If at the end the stack is empty, the parenthesis are balanced

Add your answer

Q6. All Palindromic substrings

Ans.

Find all palindromic substrings in a given string.

  • Iterate through each character in the string and expand around it to find palindromic substrings.

  • Store all palindromic substrings in an array of strings.

Add your answer
Are these interview questions helpful?

Q7. Clean maze with Robot

Ans.

Clean maze using a robot by navigating through paths and avoiding obstacles.

  • Create a map of the maze with obstacles and paths.

  • Implement a pathfinding algorithm for the robot to navigate through the maze.

  • Use sensors or algorithms to detect and avoid obstacles.

  • Track the robot's progress and clean the maze efficiently.

Add your answer

Q8. Design online coding judge.

Ans.

Online coding judge to evaluate code submissions and provide feedback.

  • Create a web application where users can submit code in various programming languages.

  • Implement a compiler or interpreter to execute the code and check for errors.

  • Provide feedback on code correctness, efficiency, and style.

  • Include test cases to verify the code's functionality.

  • Allow users to view their submission history and track their progress.

Add your answer
Share interview questions and help millions of jobseekers 🌟

Q9. Design live chess game

Ans.

Design a live chess game

  • Create a server-side application to handle game logic and communication

  • Implement a client-side application for players to interact with the game

  • Use a database to store game state and player information

  • Implement real-time updates using websockets or similar technology

  • Design a user-friendly interface for players to make moves and view the board

Add your answer

Q10. what will happen when the browser first visit the facebook.com ( different protocols in diff layers)

Ans.

When the browser first visits facebook.com, it goes through multiple protocols in different layers.

  • The browser first resolves the domain name using DNS (Domain Name System).

  • Then, it establishes a TCP (Transmission Control Protocol) connection with the server.

  • Next, it performs an SSL/TLS handshake to establish a secure connection.

  • After that, the browser sends an HTTP (Hypertext Transfer Protocol) request to the server.

  • The server processes the request and sends back an HTTP res...read more

Add your answer

Q11. Why Meta? What do you know about Meta in AI space?

Ans.

Meta is a leading company in AI space with a focus on developing innovative technologies and solutions.

  • Meta (formerly Facebook) is known for its advanced AI research and development.

  • Meta uses AI for various applications such as content moderation, personalized recommendations, and virtual assistants.

  • Meta's AI technologies power products like facial recognition, language translation, and image recognition.

Add your answer

Q12. Tell me about a critical program which had multiple issues?

Ans.

Implemented a critical software upgrade with multiple bugs affecting production.

  • Identified bugs through thorough testing and analysis.

  • Collaborated with development team to prioritize and resolve issues.

  • Implemented temporary workarounds to minimize impact on production.

  • Conducted post-mortem analysis to prevent similar issues in future upgrades.

Add your answer

Q13. Tell me an example of a program where you failed ?

Ans.

I failed to implement a preventive maintenance program due to lack of buy-in from the team.

  • Lack of clear communication about the benefits of the program

  • Resistance from team members who preferred reactive maintenance

  • Inadequate training and support for team members to adapt to the new program

Add your answer

Q14. How do you calculate the displacement of a bike with no tools

Ans.

To calculate the displacement of a bike without tools, measure the distance traveled in one full rotation of the wheel

  • Measure the circumference of the bike's wheel

  • Count the number of rotations the wheel makes over a certain distance

  • Multiply the circumference by the number of rotations to get the displacement

  • Displacement = Circumference of wheel x Number of rotations

Add your answer

Q15. How would you rate your SQL skills

Ans.

I would rate my SQL skills as advanced.

  • Proficient in writing complex SQL queries

  • Experienced in optimizing database performance

  • Skilled in data manipulation and analysis using SQL

  • Familiar with stored procedures and functions

  • Have worked on large datasets in previous projects

Add your answer

Q16. How would you rate your Python skills

Ans.

I would rate my Python skills as advanced.

  • Proficient in data manipulation and analysis using pandas and numpy

  • Experience with data visualization libraries like matplotlib and seaborn

  • Familiar with machine learning libraries such as scikit-learn

  • Comfortable working with APIs and web scraping using requests and BeautifulSoup

Add your answer

Q17. coding assessment of distance

Ans.

Calculate the distance between two points in a 2D plane.

  • Use the distance formula: sqrt((x2 - x1)^2 + (y2 - y1)^2)

  • Ensure input validation for coordinates

  • Consider edge cases like points being the same or on the same axis

Add your answer

Q18. code assess of measure

Ans.

Code assessment measures the ability of a software developer to write efficient and effective code.

  • Code quality and readability are important factors in code assessment.

  • Efficiency and performance of the code are also key aspects to consider.

  • Ability to solve complex problems and think critically is evaluated through code assessment.

  • Knowledge of programming languages, algorithms, and data structures is tested in code assessment.

  • Examples: writing a sorting algorithm, optimizing ...read more

Add your answer

Q19. Insert a node in a sorted Linked List

Add your answer

Q20. Design a case study

Ans.

Design a case study on the impact of social media on mental health in teenagers

  • Identify a sample group of teenagers who use social media regularly

  • Track their social media usage patterns and behaviors

  • Conduct surveys or interviews to assess their mental health and well-being

  • Analyze the data to determine any correlations between social media usage and mental health issues

  • Draw conclusions and recommendations based on the findings

View 1 answer
Contribute & help others!
Write a review
Share interview
Contribute salary
Add office photos

Interview Process at OkayGo

based on 49 interviews in the last 1 year
Interview experience
4.1
Good
View more
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Top Interview Questions from Similar Companies

4.2
 • 345 Interview Questions
3.7
 • 329 Interview Questions
3.8
 • 328 Interview Questions
4.1
 • 137 Interview Questions
4.2
 • 135 Interview Questions
3.9
 • 128 Interview Questions
View all
Top Meta Interview Questions And Answers
Share an Interview
Stay ahead in your career. Get AmbitionBox app
qr-code
Helping over 1 Crore job seekers every month in choosing their right fit company
70 Lakh+

Reviews

5 Lakh+

Interviews

4 Crore+

Salaries

1 Cr+

Users/Month

Contribute to help millions
Get AmbitionBox app

Made with ❤️ in India. Trademarks belong to their respective owners. All rights reserved © 2024 Info Edge (India) Ltd.

Follow us
  • Youtube
  • Instagram
  • LinkedIn
  • Facebook
  • Twitter