Skip to main content

Interview Questions

Review this list of 4,411 interview questions and answers verified by hiring managers and candidates.
  • +1

    "Clarifications/assumptions - we're only interested in opening and closing hours, not serving times e.g. breakfast or lunch time format etc will be local only interested in regular hours not special holiday hours Potential users/data providers (ranked by order of authority) Businesses/Advertisers Consumers Google Goal Coverage Prioritising the most popular restaurants, or those who are willing to invest in advertising Accurate, but conservative - better be wrong to"

    Raymond W. - "Clarifications/assumptions - we're only interested in opening and closing hours, not serving times e.g. breakfast or lunch time format etc will be local only interested in regular hours not special holiday hours Potential users/data providers (ranked by order of authority) Businesses/Advertisers Consumers Google Goal Coverage Prioritising the most popular restaurants, or those who are willing to invest in advertising Accurate, but conservative - better be wrong to"See full answer

    Analytical
    Execution
  • "Write a function which Caesar ciphers all the strings so that the first character is "a". Use ascii code points and the modulo operator to do this. Use this function to create a hashmap between each string and the CC-a string. Then go through each key:value pair in the hashmap, and use the CC-a ciphered value as the key in a new defaultdict(list), adding the original string to the value field in the output."

    Michael B. - "Write a function which Caesar ciphers all the strings so that the first character is "a". Use ascii code points and the modulo operator to do this. Use this function to create a hashmap between each string and the CC-a string. Then go through each key:value pair in the hashmap, and use the CC-a ciphered value as the key in a new defaultdict(list), adding the original string to the value field in the output."See full answer

    Machine Learning Engineer
    Data Structures & Algorithms
    +2 more
  • Adobe logoAsked at Adobe 
    Video answer for 'Generate Parentheses'
    +7

    " O(n) time from typing import List def generate_parentheses(n: int): res = [] def generate(buf, opened, closed): if len(buf) == 2 * n: if n != 0: res.append(buf) return if opened < n: generate( buf + "(", opened + 1, closed) if closed < opened: generate(buf + ")", opened, closed + 1) generate("", 0, 0) return res debug your code below print(generate_parentheses(1"

    Rick E. - " O(n) time from typing import List def generate_parentheses(n: int): res = [] def generate(buf, opened, closed): if len(buf) == 2 * n: if n != 0: res.append(buf) return if opened < n: generate( buf + "(", opened + 1, closed) if closed < opened: generate(buf + ")", opened, closed + 1) generate("", 0, 0) return res debug your code below print(generate_parentheses(1"See full answer

    Software Engineer
    Data Structures & Algorithms
    +3 more
  • Meta logoAsked at Meta 

    "Facebook's mission is to bring people closer. And sports is common language connecting people across the world. The joy of enjoying watching sports is with friends who also support the same team, cheer for them and trade facts about them. The product I would build is a live interactive sports app that a group of friends, though they are apart physically, can join into, chat and share happiness. The interactive sports app will stream live sports and allow users to create a community or group"

    Rishi P. - "Facebook's mission is to bring people closer. And sports is common language connecting people across the world. The joy of enjoying watching sports is with friends who also support the same team, cheer for them and trade facts about them. The product I would build is a live interactive sports app that a group of friends, though they are apart physically, can join into, chat and share happiness. The interactive sports app will stream live sports and allow users to create a community or group"See full answer

    Product Manager
    Behavioral
    +1 more
  • Google logoAsked at Google 
    +8

    "Clarifying questions: Should I include the tail of the helicopter when computing the area for this question? Can I assume that the average ping pong ball has a radius of around 1 inch? Assumption: Assume that the helicopter is more circular than a rectangle. Hence use the formula of a circle in computing the area. Assume that the helicopter's radius is 5 feet a 6 feet person can't stand on the helicopter because they're tall for it hence rounding down. Assume that th"

    Shreejal L. - "Clarifying questions: Should I include the tail of the helicopter when computing the area for this question? Can I assume that the average ping pong ball has a radius of around 1 inch? Assumption: Assume that the helicopter is more circular than a rectangle. Hence use the formula of a circle in computing the area. Assume that the helicopter's radius is 5 feet a 6 feet person can't stand on the helicopter because they're tall for it hence rounding down. Assume that th"See full answer

    Product Manager
    Estimation
  • 🧠 Want an expert answer to a question? Saving questions lets us know what content to make next.

  • Product Manager
    Product Strategy
  • Product Manager
    Behavioral
  • "Clarifying and definition of the metrics By creations down by 5%, how do you calculate the drop? the how % user create stories has dropped, or the overal stories being created fewer, could be average stories created by a user drops. Basically, how do you calculate the creation and drop? They have similarities, but it reveals diffrent type user behahviors. Assume they say fewer people create fewer stories , both, Just to be confirm that, we saw a 5% change/dig in how many user"

    Scarlett S. - "Clarifying and definition of the metrics By creations down by 5%, how do you calculate the drop? the how % user create stories has dropped, or the overal stories being created fewer, could be average stories created by a user drops. Basically, how do you calculate the creation and drop? They have similarities, but it reveals diffrent type user behahviors. Assume they say fewer people create fewer stories , both, Just to be confirm that, we saw a 5% change/dig in how many user"See full answer

    Analytical
    Execution
  • "When originally trying to launch XYZ product, a stakeholder wanted to rollout an additional requirement for agents that would have been redundant. I provided light pushback and context regarding the scale of the lift and technical resources required to initiate their request. Once I described the complexity of their request & potential strain on resources, we agreed to brainstorm alternative solutions. I collaborated with cross-functional teams to create an automated solution, leading to XYZ% in"

    Katie O. - "When originally trying to launch XYZ product, a stakeholder wanted to rollout an additional requirement for agents that would have been redundant. I provided light pushback and context regarding the scale of the lift and technical resources required to initiate their request. Once I described the complexity of their request & potential strain on resources, we agreed to brainstorm alternative solutions. I collaborated with cross-functional teams to create an automated solution, leading to XYZ% in"See full answer

    Program Manager
    Behavioral
  • "Microsoft's mission is to empower every person and every organisation on the planet to achieve more. I am always inspired by helping others to achieve more by participating to different volunteer and mentorship experiences like Microsoft Student Ambassador, and GeeksForGeeks student ambassador, and I have also created and shared a free competitive-programming guide which once reached more than 700 stars on github, that enables students and professionals to join Microsoft like Microsoft, that hav"

    Davide P. - "Microsoft's mission is to empower every person and every organisation on the planet to achieve more. I am always inspired by helping others to achieve more by participating to different volunteer and mentorship experiences like Microsoft Student Ambassador, and GeeksForGeeks student ambassador, and I have also created and shared a free competitive-programming guide which once reached more than 700 stars on github, that enables students and professionals to join Microsoft like Microsoft, that hav"See full answer

    Software Engineer
    Behavioral
  • "import lombok.*; import org.springframework.boot.CommandLineRunner; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.stereotype.Component; import org.springframework.stereotype.Repository; import org.springframework.stereotype.Service; import java.time.LocalDateTime; import java.util.*; @SpringBootApplication public class LldPracticeApplication { public static void main(String[] args) t"

    Yash G. - "import lombok.*; import org.springframework.boot.CommandLineRunner; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.stereotype.Component; import org.springframework.stereotype.Repository; import org.springframework.stereotype.Service; import java.time.LocalDateTime; import java.util.*; @SpringBootApplication public class LldPracticeApplication { public static void main(String[] args) t"See full answer

    Engineering Manager
    System Design
  • "I will start with clarifications: Q: How do you define "healthy" marketplace? A: When there is a balance in demand and supply Q: If we have balance, is it fair to assume, lot of transactions will happen? A: Sure Q: Also, is it fair to assume well known tokens on the platform already have a healthy marketplace with enough buyers and sellers. The problem is mainly with new tokens that will be introduced? A: Thats a fair assumption Q: Its okay to limit scope for this exercise to the CB retail a"

    Hems S. - "I will start with clarifications: Q: How do you define "healthy" marketplace? A: When there is a balance in demand and supply Q: If we have balance, is it fair to assume, lot of transactions will happen? A: Sure Q: Also, is it fair to assume well known tokens on the platform already have a healthy marketplace with enough buyers and sellers. The problem is mainly with new tokens that will be introduced? A: Thats a fair assumption Q: Its okay to limit scope for this exercise to the CB retail a"See full answer

    Analytical
    Execution
    +1 more
  • Capital One logoAsked at Capital One 

    "I would very confidently say - Never. Did I failed with a Product? - Yes. Did I launch a product that was sub-par? - Yes. Did I failed to launch a product? - Never. Also, I don't see it as part of growing up as PM to Fail to launch a Product. I think it's a tricky quesion, better to be avoided."

    Tarun K. - "I would very confidently say - Never. Did I failed with a Product? - Yes. Did I launch a product that was sub-par? - Yes. Did I failed to launch a product? - Never. Also, I don't see it as part of growing up as PM to Fail to launch a Product. I think it's a tricky quesion, better to be avoided."See full answer

    Product Manager
    Artificial Intelligence
    +1 more
  • " can we use blomfilters to check existing usernames? and if both are creating at a time, like both are choosing some abcd , here system checks whether user with that name exists or not. so while checking , it will add an entry on redis (example) with this name as key and obtain lock using some distributed lock. , it will lock on that name. (like seat booking in bookmyshow) with some TTL value. so this check will happen once user enters his interest username and also while submit .. 2 times che"

    Gk K. - " can we use blomfilters to check existing usernames? and if both are creating at a time, like both are choosing some abcd , here system checks whether user with that name exists or not. so while checking , it will add an entry on redis (example) with this name as key and obtain lock using some distributed lock. , it will lock on that name. (like seat booking in bookmyshow) with some TTL value. so this check will happen once user enters his interest username and also while submit .. 2 times che"See full answer

    Engineering Manager
    Analytical
    +2 more
  • +16

    "I'm pretty sure Exponent's answer is wrong. In the snippet below, they use "pl.name = 'Telephones' to attempt to filter down to the Telephone transactions, but they do this within a LEFT JOIN which means all product_lines rows are returned. > LEFT JOIN product_lines pl > ON p.productlineid = pl.id > AND pl.name = 'Telephones' Below is my solution. Also, I didn't see anywhere that said the "amount" column was in cents instead of dollars, but I still divided by 100 to be consistent with Exp"

    Bradley E. - "I'm pretty sure Exponent's answer is wrong. In the snippet below, they use "pl.name = 'Telephones' to attempt to filter down to the Telephone transactions, but they do this within a LEFT JOIN which means all product_lines rows are returned. > LEFT JOIN product_lines pl > ON p.productlineid = pl.id > AND pl.name = 'Telephones' Below is my solution. Also, I didn't see anywhere that said the "amount" column was in cents instead of dollars, but I still divided by 100 to be consistent with Exp"See full answer

    Coding
    SQL
  • Google logoAsked at Google 

    "What is a "cache controller"? With no more details it's difficult to tell what this question is about."

    Claudia S. - "What is a "cache controller"? With no more details it's difficult to tell what this question is about."See full answer

    System Design
  • Meta logoAsked at Meta 
    Engineering Manager
    System Design
  • "talk about product and user not the design its not a UI/UX its a product question still"

    Anonymous Hamster - "talk about product and user not the design its not a UI/UX its a product question still"See full answer

    Product Manager
  • Data Engineer
    Data Modeling
  • "Determining the need of a product, starts with the Problem or challenge we are trying to solve hence identifying a clear problem statement would kickoff the further analysis to find the answers of WHY... any product needed? WHAT... will it bring to the table? There are various techniques which can be used here like SWOT, Feedback, brainstorming workshop with stakeholders etc."

    Sanjay V. - "Determining the need of a product, starts with the Problem or challenge we are trying to solve hence identifying a clear problem statement would kickoff the further analysis to find the answers of WHY... any product needed? WHAT... will it bring to the table? There are various techniques which can be used here like SWOT, Feedback, brainstorming workshop with stakeholders etc."See full answer

    Product Manager
Showing 1321-1340 of 4411