Contact

Interview QuestionBank

Your Ultimate Tech Interview Compass
Prepare with confidence using our extensive database of real questions from FAANG and beyond.
Filter
Question Type
Add
Role
Add
Company
trivago
Add
Machine Learning
75657
Could you outline the process of calculating the correlation between a binary variable and a continuous variable?
### Question Analysis This question tests the candidate's understanding of statistical methods used ...
BetterUp, Course Hero, DocuSign, Grab, MathWorks, Qualcomm, Redfin, Snowflake, Square, trivago, Zendesk
Machine Learning Engineer
Machine Learning
22555
How do you tackle the issue of high cardinality within categorical data fields?
### Question Analysis High cardinality in categorical data fields refers to the presence of a large ...
Atlassian, Blend, Cognizant, DocuSign, Infineon, Meetup, Redfin, Roku, thredUP, trivago, Ubisoft, Zillow
Machine Learning Engineer
Machine Learning
28064
What methods have you found useful for determining the most appropriate value of "k" for a given dataset using the K-means algorithm?
### Question Analysis The question is asking about techniques to determine the optimal value of "k" ...
Airbnb, Airtable, Canva, Chewy, Digit, DigitalOcean, Grab, Productboard, Quantcast, trivago, Wise
Machine Learning Engineer
Machine Learning
6380
What methods have you found useful for determining the most appropriate value of "k" for a given dataset using the K-means algorithm?
### Question Analysis The question is asking about the techniques used to determine the optimal numb...
Airbnb, Airtable, Canva, Chewy, Digit, DigitalOcean, Grab, Productboard, Quantcast, trivago, Wise
Machine Learning Engineer
Coding
48489
Can you walk us through your process of writing a JavaScript function to find the maximum sum of a contiguous subarray in an array of integers?
### Question Analysis The question is asking you to explain the process of solving a classic algorit...
Activision, Akamai, Amazon Web Services, Bungie, Carbonite, FromSoftware, GungHo Online Entertainment, Huawei, NaturalMotion, Netmarble, NVIDIA, PopCap Games, Rare, Sophos, Sucker Punch Productions, Symantec, Tencent Games, Tripwire Interactive, trivago, Valve, Wargaming.net, Wooga
Frontend Engineer
Coding
17462
Tell me how you would calculate the shortest distance for a knight on an infinite chessboard to move from A to B.
### Question Analysis The question asks you to determine the shortest path a knight can take to move...
AT&T, Autodesk, Bumble, Centrica, Cruise, Hootsuite, Hopper, Mollie, NetEase, Onfido, Rovio, Tesla, TikTok, trivago, Viber
Data Scientist
Coding
59676
Can you outline the steps to build a reduce() function in JavaScript, focusing on aggregating array values through a callback?
### Question Analysis The question is asking for a detailed explanation of how to build a custom `re...
Accenture, AT&T, Baidu, Basecamp, Broadcom, Epson, GungHo Online Entertainment, HCL Technologies, InnoGames, Intel, Jam City, Kaspersky Lab, King, King Digital Entertainment, Machine Zone, Niantic, Plarium, Santa Monica Studio, Square, Sucker Punch Productions, Symantec, trivago, Wargaming.net
Frontend Engineer
Data & Analytics
42865
What method do you use to ascertain the success of a marketing channel?
### Question Analysis This question aims to assess your ability to evaluate and measure the effecti...
Paytm, Plaid, WeWork, eBay, trivago, Epic Games, Microsoft, Visa, Zoom, Etsy, Grubhub, Evernote, Headspace
Data Scientist
Machine Learning
30406
What optimization methods are you aware of and comfortable discussing? How do you optimize in a situation where there are a million variables involved? How does simplex navigate through the potential solutions in an optimization problem?
### Question Analysis This question assesses your knowledge of optimization methods in machine learn...
Elastic, Evernote, Grab, Hewlett Packard, Hootsuite, Instacart, LogMeIn, Shopee, trivago, Zillow
Machine Learning Engineer
Coding
5032
What techniques do you use to position an element centrally over an image?
### Question Analysis The question is asking about techniques in web development specifically relate...
Adobe, Agoda, Apple, BioWare, Bungie, ByteDance, Carbonite, Evernote, Frontier Developments, Groupon, HCL Technologies, Lilith Games, Machine Zone, Mitsubishi Electric, Netmarble, Panasonic, Ricoh, Shopify, TeamViewer, TikTok, Trend Micro, trivago, Xiaomi
Frontend Engineer
Data & Analytics
4054
How would you describe PCA and what drawbacks might it have?
### Question Analysis The question is asking you to explain the concept of Principal Component Analy...
Adobe, Agoda, Airbnb, Airtable, Anaplan, Asana, Atlassian, Binance, Blend, Bosch, Careem, Chime, Cleo, Commvault, Credit Karma, Curve, Datadog, Deliveroo, Duolingo, Electronic Arts, Epic Games, Evernote, Glovo, GoDaddy, HubSpot, Infineon, Intercom, Klarna, Lattice, Medallia, Mimecast, Noon, Nuro, Nutanix, Paytm, Rakuten, Roblox, Rovio, Rubrik, Soundcloud, Squarespace, Stitch Fix, SurveyMonkey, trivago, Visa, VMware, Wish, WorldRemit
Data Scientist, Machine Learning Engineer
Machine Learning
47549
What steps does a bounding box regressor take to localize objects in images?
### Question Analysis The question is asking about the process involved in using a bounding box regr...
Bill.com, Indeed.com, Workday, Thumbtack, Rivian, Elastic, trivago, Zulily, Benchling, Mailchimp, ServiceNow
Machine Learning Engineer
Coding
16004
Can you explain how to create a JavaScript function that outputs a date as a human-readable elapsed time, including considerations for different time scales and localization?
### Question Analysis The question is asking you to create a JavaScript function that converts a dat...
Bandai Namco, Bethesda Softworks, Broadcom, Crytek, DocuSign, Frontier Developments, Funcom, Glu Mobile, Groupon, Infosys, King Digital Entertainment, Mojang Studios, Niantic, Philips, Ricoh, SurveyMonkey, Trend Micro, trivago, Uber, WeWork, Wrike, Xiaomi, Zoom
Frontend Engineer
Coding
9928
Can you explain how to create a JavaScript function that outputs a date as a human-readable elapsed time, including considerations for different time scales and localization?
### Question Analysis The question is asking you to create a JavaScript function that takes a date ...
Bandai Namco, Bethesda Softworks, Broadcom, Crytek, DocuSign, Frontier Developments, Funcom, Glu Mobile, Groupon, Infosys, King Digital Entertainment, Mojang Studios, Niantic, Philips, Ricoh, SurveyMonkey, Trend Micro, trivago, Uber, WeWork, Wrike, Xiaomi, Zoom
Frontend Engineer
Coding
37949
Could you provide a SQL query to find the set of unique communicators from a table named messages containing the fields id, sender_id, receiver_id, and message?
### Question Analysis The question requires you to write a SQL query to identify a unique set of ind...
Autodesk, Citrix, Grammarly, Intuit, New Relic, Nokia, OfferUp, Pendo, Prezi, Transferwise, trivago, Zenefits, Zillow, Zomato
Data Scientist
Coding
30663
Could you provide a SQL query to find the set of unique communicators from a table named messages containing the fields id, sender_id, receiver_id, and message?
### Question Analysis The question asks for a SQL query to identify all unique communicators from a ...
Autodesk, Citrix, Grammarly, Intuit, New Relic, Nokia, OfferUp, Pendo, Prezi, Transferwise, trivago, Zenefits, Zillow, Zomato
Data Scientist
Coding
94168
Explain your approach to crafting undefinedToNull(), aimed at substituting undefined object values with null.
### Question Analysis The question asks you to create a function named `undefinedToNull()` that will...
Bandai Namco, Careem, CCP Games, Devolver Digital, Hitachi, King Digital Entertainment, Mitsubishi Electric, monday.com, Netflix, NVIDIA, Panda Security, Playdemic, PopCap Games, Qualcomm, Riot Games, Roblox, SAP, SEGA, Shopify, Sony, Tencent Games, trivago, WeWork
Frontend Engineer
Machine Learning
47604
When it comes to machine learning, what does regularization mean to you and how does it work?
### Question Analysis The question is asking about your understanding of regularization in the conte...
DoorDash, Electronic Arts, Glovo, Oracle, PayPal, Razorpay, trivago, Twitter, Virta, Walmart, Wish, Yandex, Zendesk
Data Scientist