Skip to main content

Software Engineer Interview Questions

Review this list of 715 Software Engineer interview questions and answers verified by hiring managers and candidates.
  • "I try to solve this initially using quick select where will take a pivot element and position the remaining elements and check if the current index is answer or not and continue the same but it requires o(n*n), but interviewee is expecting the best from me, so at the end i tried solving using heaps where will check the difference between k and n-k to use min or max heap after that we will heap the array, and will keep popping the element k-1 and return the peek one which leads to answer."

    Mourya C. - "I try to solve this initially using quick select where will take a pivot element and position the remaining elements and check if the current index is answer or not and continue the same but it requires o(n*n), but interviewee is expecting the best from me, so at the end i tried solving using heaps where will check the difference between k and n-k to use min or max heap after that we will heap the array, and will keep popping the element k-1 and return the peek one which leads to answer."See full answer

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

    "public int CountNumberOfSpace(string s){ int n = s.Length; for(int i=0;i<n;i++){ if(s[i]==' ')count++; } return count; }"

    Jazeel A. - "public int CountNumberOfSpace(string s){ int n = s.Length; for(int i=0;i<n;i++){ if(s[i]==' ')count++; } return count; }"See full answer

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

  • Nvidia logoAsked at Nvidia 
    Add answer
    Software Engineer
    Behavioral
  • DoorDash logoAsked at DoorDash 
    Add answer
    Software Engineer
    Behavioral
  • Palantir logoAsked at Palantir 
    Add answer
    Software Engineer
    Behavioral
  • "Steps in booking (eg. movie ticket booking) User logs in User enters details User selects seats User adds meal options User enters payment method User completes payment Scenarios Which can happen agents corner the tickets and then sell them at premium Multiple users booking at the same time and get an error message at the end Money gets stuck and will be refunded later Load at the server and server crashes Multiple users get t"

    P D. - "Steps in booking (eg. movie ticket booking) User logs in User enters details User selects seats User adds meal options User enters payment method User completes payment Scenarios Which can happen agents corner the tickets and then sell them at premium Multiple users booking at the same time and get an error message at the end Money gets stuck and will be refunded later Load at the server and server crashes Multiple users get t"See full answer

    Software Engineer
    Product Design
  • LinkedIn logoAsked at LinkedIn 
    Add answer
    Software Engineer
    Data Structures & Algorithms
    +2 more
  • Cognizant logoAsked at Cognizant 
    2 answers

    "My experience with JavaScript is extensive and grounded in a deep understanding of both the language itself and the ecosystems built around it. I can work with modern JavaScript (ES6 and beyond), including concepts like arrow functions, destructuring, modules, promises, and async/await. I’m well-versed in core language features such as closures, the event loop, hoisting, scope, and prototype inheritance. Additionally, I can assist with both front-end and back-end development using popular framew"

    Komal K. - "My experience with JavaScript is extensive and grounded in a deep understanding of both the language itself and the ecosystems built around it. I can work with modern JavaScript (ES6 and beyond), including concepts like arrow functions, destructuring, modules, promises, and async/await. I’m well-versed in core language features such as closures, the event loop, hoisting, scope, and prototype inheritance. Additionally, I can assist with both front-end and back-end development using popular framew"See full answer

    Software Engineer
    Frontend Engineer
  • Apple logoAsked at Apple 
    Add 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
  • Google logoAsked at Google 
    Add answer
    Software Engineer
    Data Structures & Algorithms
    +2 more
  • Microsoft logoAsked at Microsoft 
    1 answer

    "public class BoggleBoard { public static List findWords(char board, Set dictionary) { int rows = board.length; int cols = board[0].length; boolean visited = new booleanrows; int directions = {{1,0}, {-1,0}, {0,1}, {0,-1}}; List result = new ArrayList(); for(int i=0; i<rows; i++) { for(int j=0; j<cols; j++) { dfs(board, visited, i, j, dictionary, "", result, dire"

    Aniket G. - "public class BoggleBoard { public static List findWords(char board, Set dictionary) { int rows = board.length; int cols = board[0].length; boolean visited = new booleanrows; int directions = {{1,0}, {-1,0}, {0,1}, {0,-1}}; List result = new ArrayList(); for(int i=0; i<rows; i++) { for(int j=0; j<cols; j++) { dfs(board, visited, i, j, dictionary, "", result, dire"See full answer

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

    "standard answer for this."

    Shar N. - "standard answer for this."See full answer

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

    "Recursion: 0 if NULL, else 1+max(height(left), height(right))"

    Mohith J. - "Recursion: 0 if NULL, else 1+max(height(left), height(right))"See full answer

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

    "What excites me at work is being able to work on new and challenging projects where I have to be allowed to be creative and work with little supervision. I'm demotivated by that constant supervision and breathing down on one's neck every minute of the day."

    Anthony O. - "What excites me at work is being able to work on new and challenging projects where I have to be allowed to be creative and work with little supervision. I'm demotivated by that constant supervision and breathing down on one's neck every minute of the day."See full answer

    Software Engineer
    Behavioral
Showing 641-660 of 715
Exponent

Get updates in your inbox with the latest tips, job listings, and more.

Follow Us

Products
Courses
Interview Questions
Interview Experiences
Popular articles
Guides
Coaching
For Partners
Company
Exponent © 2026
Terms of Service | Privacy