Interview Questions

Review this list of 4,346 interview questions and answers verified by hiring managers and candidates.
  • Discord logoAsked at Discord 

    "My style of inspiring / discovery sessions / brainstorming / execution guidance / upskiling the team has always been Outcome driven. Outcomes always took the central focus of our efforts, and hence easier prioritisation and a clarity on why a decision failed or succeeded. I take personal responsibility to help the teams to define outcomes if it is a complicated charter and for most help them fine tune the outcomes to keep them simple, progressive and aspirational."

    RestlessMonk - "My style of inspiring / discovery sessions / brainstorming / execution guidance / upskiling the team has always been Outcome driven. Outcomes always took the central focus of our efforts, and hence easier prioritisation and a clarity on why a decision failed or succeeded. I take personal responsibility to help the teams to define outcomes if it is a complicated charter and for most help them fine tune the outcomes to keep them simple, progressive and aspirational."See full answer

    Engineering Manager
    Behavioral
    +2 more
  • Walmart Labs logoAsked at Walmart Labs 

    "I prefer to build a team of complementary skills than being skewed on one aspect. And generally avoid an all rockstar team. Technically, this means we will have atleast one rockstar for one skill and it is acceptable if that rockstar is just an avg performer on other skills Which person gets indexed more on which skill is a time to time exercise depending on needs of the org, product charter and career aspirations of the person."

    RestlessMonk - "I prefer to build a team of complementary skills than being skewed on one aspect. And generally avoid an all rockstar team. Technically, this means we will have atleast one rockstar for one skill and it is acceptable if that rockstar is just an avg performer on other skills Which person gets indexed more on which skill is a time to time exercise depending on needs of the org, product charter and career aspirations of the person."See full answer

    Product Manager
    Behavioral
  • +1

    "Time taken: 25 minutes My approach: I would start by listing the use cases, what could be the length of cable needed, quantifying each and weight average those. The % make the assumption that it is what it represents the share in the total nb of iphone recharges. In fact total should be more than 100% because it not exclusive but for sake of simplicity let’s say it tops at 100%. \# In details: charging next to bed: 50%generally speaking there is a bedside table that is 80 cm high and the"

    Adaneir W. - "Time taken: 25 minutes My approach: I would start by listing the use cases, what could be the length of cable needed, quantifying each and weight average those. The % make the assumption that it is what it represents the share in the total nb of iphone recharges. In fact total should be more than 100% because it not exclusive but for sake of simplicity let’s say it tops at 100%. \# In details: charging next to bed: 50%generally speaking there is a bedside table that is 80 cm high and the"See full answer

    Product Manager
  • Apple logoAsked at Apple 

    "First of all, stack and heap memory are abstraction on top of the hardware by the compiler. The hardware is not aware of stack and heap memory. There is only a single piece of memory that a program has access to. The compiler creates the concepts of stack and heap memory to run the programs efficiently. Programs use stack memory to store local variables and a few important register values such as frame pointer and return address for program counter. This makes it easier for the compiler to gene"

    Stanley Y. - "First of all, stack and heap memory are abstraction on top of the hardware by the compiler. The hardware is not aware of stack and heap memory. There is only a single piece of memory that a program has access to. The compiler creates the concepts of stack and heap memory to run the programs efficiently. Programs use stack memory to store local variables and a few important register values such as frame pointer and return address for program counter. This makes it easier for the compiler to gene"See full answer

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

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

    "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 

    "Reproduce the bug, read error messages, isolate the problem, use a debugger, check assumptions, review recent changes, consult documentation, Text Edge Cases, take break"

    Jennifer C. - "Reproduce the bug, read error messages, isolate the problem, use a debugger, check assumptions, review recent changes, consult documentation, Text Edge Cases, take break"See full answer

    Software Engineer
    Behavioral
  • Apple logoAsked at Apple 
    Software Engineer
    Data Structures & Algorithms
    +1 more
  • Apple logoAsked at Apple 
    Software Engineer
    System Design
  • Apple logoAsked at Apple 
    Software Engineer
    Data Structures & Algorithms
    +1 more
  • Apple logoAsked at Apple 
    Software Engineer
    Data Structures & Algorithms
    +1 more
  • Amazon logoAsked at Amazon 

    "na"

    Nishigandha B. - "na"See full answer

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

    "class ListNode: def init(self, val=0, next=None): self.val = val self.next = next def has_cycle(head: ListNode) -> bool: slow, fast = head, head while fast and fast.next: slow = slow.next fast = fast.next.next if slow == fast: return True return False debug your code below node1 = ListNode(1) node2 = ListNode(2) node3 = ListNode(3) node4 = ListNode(4) creates a linked list with a cycle: 1 -> 2 -> 3 -> 4"

    Anonymous Roadrunner - "class ListNode: def init(self, val=0, next=None): self.val = val self.next = next def has_cycle(head: ListNode) -> bool: slow, fast = head, head while fast and fast.next: slow = slow.next fast = fast.next.next if slow == fast: return True return False debug your code below node1 = ListNode(1) node2 = ListNode(2) node3 = ListNode(3) node4 = ListNode(4) creates a linked list with a cycle: 1 -> 2 -> 3 -> 4"See full answer

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

    "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 

    "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 

    "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 
    Software Engineer
    Behavioral
Showing 1881-1900 of 4346