Skip to main content

Interview Questions

Review this list of 4,415 interview questions and answers verified by hiring managers and candidates.
  • "def changeString(org: str,target:str) -> bool: lOrg = len(org) lTarget = len(target) \# They have to be equal in lenght if lOrg != lTarget: return False counter1 = Counter(org) counter2 = Counter(target) \# Counter internally iterates through the input sequence, counts the number of times a given object occurs, and stores objects as keys and the counts as values. if counter1 != counter2: return False diff = sum(org[i] != target[i] for i in range(n)) return diff == 2 or (diff == 0 and any(v > 1 f"

    Rafał P. - "def changeString(org: str,target:str) -> bool: lOrg = len(org) lTarget = len(target) \# They have to be equal in lenght if lOrg != lTarget: return False counter1 = Counter(org) counter2 = Counter(target) \# Counter internally iterates through the input sequence, counts the number of times a given object occurs, and stores objects as keys and the counts as values. if counter1 != counter2: return False diff = sum(org[i] != target[i] for i in range(n)) return diff == 2 or (diff == 0 and any(v > 1 f"See full answer

    Data Structures & Algorithms
    Coding
  • Microsoft logoAsked at Microsoft 
    Product Manager
    Artificial Intelligence
    +3 more
  • TikTok logoAsked at TikTok 

    "Instagram Reels: Instagram's answer to TikTok, Reels allows users to create and share short-form videos within the Instagram app. It leverages Instagram's existing user base and social features. YouTube Shorts: YouTube introduced Shorts as a feature within its platform to enable users to create short, catchy videos. It capitalizes on YouTube's extensive content creator community and viewer base. Snapchat Spotlight: Snapchat's Spotlight feature highlights short-form videos in"

    Jessie Y. - "Instagram Reels: Instagram's answer to TikTok, Reels allows users to create and share short-form videos within the Instagram app. It leverages Instagram's existing user base and social features. YouTube Shorts: YouTube introduced Shorts as a feature within its platform to enable users to create short, catchy videos. It capitalizes on YouTube's extensive content creator community and viewer base. Snapchat Spotlight: Snapchat's Spotlight feature highlights short-form videos in"See full answer

    Product Manager
    Product Strategy
  • Product Manager
    Behavioral
  • +2

    "Here are some strategies to mitigate the effects of organizational and architectural dependencies on a team's work. Automation Where possible, automate repetitive tasks, and include appropriate controls to ensure safety. For example, automate deployments, building in all needed safety and compliance checks, and let teams perform the process themselves, rather than having them back up in the Ops team’s queue. Standardize processes Even if you can’t automate a process, make it happen the s"

    Mukul P. - "Here are some strategies to mitigate the effects of organizational and architectural dependencies on a team's work. Automation Where possible, automate repetitive tasks, and include appropriate controls to ensure safety. For example, automate deployments, building in all needed safety and compliance checks, and let teams perform the process themselves, rather than having them back up in the Ops team’s queue. Standardize processes Even if you can’t automate a process, make it happen the s"See full answer

    Behavioral
    Program Sense
  • 🧠 Want an expert answer to a question? Saving questions lets us know what content to make next.

  • "Clarification - I will first clarify what is the data insights we are talking about? Is it a feature in the platform or are we talking about data insights that we use in our work? First listen and not judge - I will first try to understand what the engineer is talking about, what is the disagreement that he is raising. Context - Then I will try to ask the engineer if he has the overall context about the feature/solution/functionality he is talking about. If he has all the cont"

    Rohith K. - "Clarification - I will first clarify what is the data insights we are talking about? Is it a feature in the platform or are we talking about data insights that we use in our work? First listen and not judge - I will first try to understand what the engineer is talking about, what is the disagreement that he is raising. Context - Then I will try to ask the engineer if he has the overall context about the feature/solution/functionality he is talking about. If he has all the cont"See full answer

    Product Manager
    Behavioral
  • Airbnb logoAsked at Airbnb 
    +4

    "I always ask to clarify if this is a brand new team. If so, then I focus on bringing in people with strong technical aptitudes(since I'm hiring for software engineering), but also team members that have experience mentoring and good communication is a must. I look for people who have leadership qualities. I emphasize that building a brand new team isn't something I can do on my own, so the initial hires of that team are very important to help me expand it."

    Catherine I. - "I always ask to clarify if this is a brand new team. If so, then I focus on bringing in people with strong technical aptitudes(since I'm hiring for software engineering), but also team members that have experience mentoring and good communication is a must. I look for people who have leadership qualities. I emphasize that building a brand new team isn't something I can do on my own, so the initial hires of that team are very important to help me expand it."See full answer

    Software Engineer
    Behavioral
    +4 more
  • "I said we could always revert the production issues. Solve it at DEV environment and then publish again. Interviewer gave me an example of it like a database schema change that may not be possible to revert. I said that we always used SQL scripts to upgrade and downgrade the database schema for each production deployment. So it would not be a problem for us. I guess my answer was not accepted."

    Bulent K. - "I said we could always revert the production issues. Solve it at DEV environment and then publish again. Interviewer gave me an example of it like a database schema change that may not be possible to revert. I said that we always used SQL scripts to upgrade and downgrade the database schema for each production deployment. So it would not be a problem for us. I guess my answer was not accepted."See full answer

    Software Engineer
    Behavioral
  • Robinhood logoAsked at Robinhood 

    "Why do we want to build an ad platform? Should we discuss if we should/should not do this? Or have we decided? Let's say we decided. Now what's the goal of ad platform? Additional revenue stream. We need to make sure the ads we show don't distract our users from the core product but help our users with their financial needs through relevant advertisements. It might not be a bad idea to monetize the 13M users as long as we're connecting them with the right brands/services. Now let's look at the"

    M N. - "Why do we want to build an ad platform? Should we discuss if we should/should not do this? Or have we decided? Let's say we decided. Now what's the goal of ad platform? Additional revenue stream. We need to make sure the ads we show don't distract our users from the core product but help our users with their financial needs through relevant advertisements. It might not be a bad idea to monetize the 13M users as long as we're connecting them with the right brands/services. Now let's look at the"See full answer

    Product Manager
    Product Strategy
  • TikTok logoAsked at TikTok 

    "I aim to utilize hands-on activities to apply the knowledge I've acquired, safeguard the organization from threat actors, and contribute to its growth."

    Bravin V. - "I aim to utilize hands-on activities to apply the knowledge I've acquired, safeguard the organization from threat actors, and contribute to its growth."See full answer

    Software Engineer
    Behavioral
  • Data Engineer
    Data Modeling
  • +1

    "As always, I'd start this discussion by asking a couple clarifying questions. In particular, I'd like to learn more from the interviewer about what "not pulling as hard" looks like. Does it mean: lower code output relative to the rest of the team lower velocity per sprint in terms of story points less participation in code reviews minimal participation in meetings and ceremonies Or perhaps it's a combination of these. As others have pointed out, I'd also want to confirm that I am not ma"

    Seth W. - "As always, I'd start this discussion by asking a couple clarifying questions. In particular, I'd like to learn more from the interviewer about what "not pulling as hard" looks like. Does it mean: lower code output relative to the rest of the team lower velocity per sprint in terms of story points less participation in code reviews minimal participation in meetings and ceremonies Or perhaps it's a combination of these. As others have pointed out, I'd also want to confirm that I am not ma"See full answer

    Business Analyst
    Behavioral
  • Meta logoAsked at Meta 
    +17

    "function sortKMessedArray(arr, k) { const n = arr.length; for (let i = 0; i < n; i++) { let min = i; for (let j = i + 1; j <= Math.min(i + k, n - 1); j++) { if (arr[j] < arr[min]) min = j; } [arr[min], arr[i]] = [arr[i], arr[min]]; } return arr; } Time Complexity: O(nk) Space Complexity: O(1)"

    Aliaksandr A. - "function sortKMessedArray(arr, k) { const n = arr.length; for (let i = 0; i < n; i++) { let min = i; for (let j = i + 1; j <= Math.min(i + k, n - 1); j++) { if (arr[j] < arr[min]) min = j; } [arr[min], arr[i]] = [arr[i], arr[min]]; } return arr; } Time Complexity: O(nk) Space Complexity: O(1)"See full answer

    Software Engineer
    Data Structures & Algorithms
    +1 more
  • Stripe logoAsked at Stripe 

    "The key to this is to be concise and specific. You won't need to code as a product manager, but understanding technology is important. Only give enough information to validate your knowledge. By speaking too much, you may make a mistake (if you're not technical). > Sure! I'll list the first five I can think of off the top of my head. There's a login endpoint that logs a user in, a signup endpoint to sign up a user, there's likely an endpoint to grab a list of songs to display in a playlist, a su"

    Exponent - "The key to this is to be concise and specific. You won't need to code as a product manager, but understanding technology is important. Only give enough information to validate your knowledge. By speaking too much, you may make a mistake (if you're not technical). > Sure! I'll list the first five I can think of off the top of my head. There's a login endpoint that logs a user in, a signup endpoint to sign up a user, there's likely an endpoint to grab a list of songs to display in a playlist, a su"See full answer

    Product Manager
  • +21

    "def validateIP(ip): """ @param ip: str @return: bool """ \# ip needs to be in X.X.X.X \# X is from 0 to 255 \# split the ip at "." split = ip.split('.') if (len(split) != 4): return False for number in split: if (int(number) 255): return False return True"

    Anonymous Owl - "def validateIP(ip): """ @param ip: str @return: bool """ \# ip needs to be in X.X.X.X \# X is from 0 to 255 \# split the ip at "." split = ip.split('.') if (len(split) != 4): return False for number in split: if (int(number) 255): return False return True"See full answer

    Data Structures & Algorithms
    Coding
  • "Lyft’s mission: To become the world’s best transportation company CQ: · Region: USA · Metrics to improve: Engagement User persona: · Passengers · Drivers Will consider passengers persona for this case. Use case / pain points: Exact pick up location is not visible on the map Not able to communicate exact location to the driver due to unknown location How to change the pick-up location in case passenger has to move around Features: Passenger can share a pictur"

    Kena K. - "Lyft’s mission: To become the world’s best transportation company CQ: · Region: USA · Metrics to improve: Engagement User persona: · Passengers · Drivers Will consider passengers persona for this case. Use case / pain points: Exact pick up location is not visible on the map Not able to communicate exact location to the driver due to unknown location How to change the pick-up location in case passenger has to move around Features: Passenger can share a pictur"See full answer

    Product Manager
    Analytical
    +1 more
Showing 1461-1480 of 4415