Skip to main content

Interview Questions

Review this list of 4,477 interview questions and answers verified by hiring managers and candidates.
  • Apple logoAsked at Apple 
    1 answer

    "Message queue is like a buffer. Its has 3 parts: Producer -> which creates a message and sends it to the queue. Queue -> which acta like a buffer pipe and stores the message. Subscriber -> which processes and releases messages one by one in FIFO manner."

    Rasika D. - "Message queue is like a buffer. Its has 3 parts: Producer -> which creates a message and sends it to the queue. Queue -> which acta like a buffer pipe and stores the message. Subscriber -> which processes and releases messages one by one in FIFO manner."See full answer

    Software Engineer
    System Design
  • Apple logoAsked at Apple 
    1 answer

    "A red-black tree is a self-balancing binary search tree. The motivation for this is that the benefits of O(logN) search, insertion, and deletion that a binary tree provides us will disappear if we let the tree get too "imbalanced" (e.g. there are too many nodes on one side of the tree or some branches have a depth that is way out of proportion to the average branch depth). This imbalance will occur if we don't adjust the tree after inserting or deleting nodes, hence our need for self-balancing c"

    Alex M. - "A red-black tree is a self-balancing binary search tree. The motivation for this is that the benefits of O(logN) search, insertion, and deletion that a binary tree provides us will disappear if we let the tree get too "imbalanced" (e.g. there are too many nodes on one side of the tree or some branches have a depth that is way out of proportion to the average branch depth). This imbalance will occur if we don't adjust the tree after inserting or deleting nodes, hence our need for self-balancing c"See full answer

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

    "A doubly linked list is like a train where the engine is its head, and the compartments doors are interconnected, you can travel though them. The last compartment is the tail and is not connected with anything. Following is a visual: Head C1 C2 C3....Cn Tail Pseudocode: **class Node: Data pointer next pointer prev End class DLL = NULL //pointer to list insertion: if DLL is NULL: head = new Node() DLL = head DLL.prev = NU"

    Rasika D. - "A doubly linked list is like a train where the engine is its head, and the compartments doors are interconnected, you can travel though them. The last compartment is the tail and is not connected with anything. Following is a visual: Head C1 C2 C3....Cn Tail Pseudocode: **class Node: Data pointer next pointer prev End class DLL = NULL //pointer to list insertion: if DLL is NULL: head = new Node() DLL = head DLL.prev = NU"See full answer

    Software Engineer
    Data Structures & Algorithms
    +2 more
  • Apple logoAsked at Apple 
    Add answer
    Software Engineer
    Data Structures & Algorithms
    +1 more
  • Apple logoAsked at Apple 
    Add answer
    Software Engineer
    System Design
  • 🧠 Want an expert answer to a question? Saving questions lets us know what content to make next.

  • Apple logoAsked at Apple 
    Add answer
    Software Engineer
    Data Structures & Algorithms
    +1 more
  • Amazon logoAsked at Amazon 
    2 answers

    "na"

    Nishigandha B. - "na"See full answer

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

    "Function that transforms each elements in a collection and returns new collection with transformed elements"

    Susmita S. - "Function that transforms each elements in a collection and returns new collection with transformed elements"See full answer

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

    "filter function usually exists in some high level programming that adopt FP paradigm. It taks a sequence of items and a predicate function, and returns (conceptually) a subset of the items that satisfy the predicate. Adopt this kind of operation (filter, map, reduce, take, pairwise ...) can help writting cleaner code, and reduce the usage of mutable part in the program, lower the possibility of making human mistake. Take Python for example (although const-ness is not exists in Python), assu"

    Weida H. - "filter function usually exists in some high level programming that adopt FP paradigm. It taks a sequence of items and a predicate function, and returns (conceptually) a subset of the items that satisfy the predicate. Adopt this kind of operation (filter, map, reduce, take, pairwise ...) can help writting cleaner code, and reduce the usage of mutable part in the program, lower the possibility of making human mistake. Take Python for example (although const-ness is not exists in Python), assu"See full answer

    Software Engineer
    Data Structures & Algorithms
    +1 more
  • Apple logoAsked at Apple 
    17 answers
    +12

    "I was able to answer this question and the follow-up questions as well"

    Anonymous Wasp - "I was able to answer this question and the follow-up questions as well"See full answer

    Software Engineer
    Data Structures & Algorithms
    +4 more
  • Apple logoAsked at Apple 
    3 answers

    "Sorting is a technique to arrange data in either increasing order or decreasing order, and, the function that implements this functionality is called sort function"

    Farhan -. - "Sorting is a technique to arrange data in either increasing order or decreasing order, and, the function that implements this functionality is called sort function"See full answer

    Software Engineer
    Data Structures & Algorithms
    +1 more
  • Apple logoAsked at Apple 
    4 answers

    "i am a fresher"

    Akash A. - "i am a fresher"See full answer

    Software Engineer
    Behavioral
  • Apple logoAsked at Apple 
    Add answer
    Software Engineer
    Behavioral
  • Apple logoAsked at Apple 
    Add answer
    Software Engineer
    Data Structures & Algorithms
    +1 more
  • Apple logoAsked at Apple 
    3 answers

    "General response: Apple’s approach to delivering seamless, personalized experiences through data, while upholding a strong ethical commitment to privacy, resonates with my own values. I want to contribute to projects that optimize user engagement and create meaningful interactions on a large scale, and I believe Apple is the ideal place to make that impact. Tailored to the team: Talk about the product, its impact internally, and the customer."

    Arshia I. - "General response: Apple’s approach to delivering seamless, personalized experiences through data, while upholding a strong ethical commitment to privacy, resonates with my own values. I want to contribute to projects that optimize user engagement and create meaningful interactions on a large scale, and I believe Apple is the ideal place to make that impact. Tailored to the team: Talk about the product, its impact internally, and the customer."See full answer

    Software Engineer
    Behavioral
    +2 more
  • Apple logoAsked at Apple 
    2 answers

    "Writing quality code is a major part of my coding philosophy, and I take multiple steps throughout the implementation process to ensure I'm producing quality work. Firstly, I focus on readability while coding, and test small parts as I go. This can include test-driven development, reading code aloud, or pair programming with a coworker. The next step would be automated systems to ensure quality. I will run a linter, and an automated test suite. Lastly, once my PR is created a fellow engineer wil"

    Zira C. - "Writing quality code is a major part of my coding philosophy, and I take multiple steps throughout the implementation process to ensure I'm producing quality work. Firstly, I focus on readability while coding, and test small parts as I go. This can include test-driven development, reading code aloud, or pair programming with a coworker. The next step would be automated systems to ensure quality. I will run a linter, and an automated test suite. Lastly, once my PR is created a fellow engineer wil"See full answer

    Software Engineer
    Behavioral
  • Meta logoAsked at Meta 
    Add answer
    Product Manager
  • Google logoAsked at Google 
    Add answer
    Product Manager
    Product Design
  • Meta logoAsked at Meta 
    1 answer

    "Understand Wikipedia Wikipedia is an online encyclopedia that gives everyone access to unbiased and accurate knowledge and information. Current products: Website - people use Wikipedia to search and pull up articles written around a specific topic Integration with other products such as browsers and kindles - people highlight a word/subject and they can pull up the relevant wikipedia if it's available. Business model: It's a non-profit organization t"

    SweetTaco - "Understand Wikipedia Wikipedia is an online encyclopedia that gives everyone access to unbiased and accurate knowledge and information. Current products: Website - people use Wikipedia to search and pull up articles written around a specific topic Integration with other products such as browsers and kindles - people highlight a word/subject and they can pull up the relevant wikipedia if it's available. Business model: It's a non-profit organization t"See full answer

    Product Manager
    Product Design
  • Meta logoAsked at Meta 
    2 answers

    "Start with FB vision What are local awareness ad. Ad content that is shown to people when they are in proximity to a brick and mortal stores. Why did fb start local awareness ads. They are very effective in helping businesses acquire customers, or create top of mind recall. Drive business revenue and visibility. Helps FB monetize and enables users discover local businesses. Goal – [secondary] is to ensure that we build visibility for the businesses. [Primary ] Customer engagement. engage the c"

    Neha A. - "Start with FB vision What are local awareness ad. Ad content that is shown to people when they are in proximity to a brick and mortal stores. Why did fb start local awareness ads. They are very effective in helping businesses acquire customers, or create top of mind recall. Drive business revenue and visibility. Helps FB monetize and enables users discover local businesses. Goal – [secondary] is to ensure that we build visibility for the businesses. [Primary ] Customer engagement. engage the c"See full answer

    Product Manager
    Analytical
Showing 2021-2040 of 4477