Full Stack Software Engineer Interview Questions

1,668 full stack software engineer interview questions shared by candidates

Felt like they were unprepared (one person was late) and didn't really care much what I had to say. I studied Data Structures and Algorithms and Java interview questions (Java was the primary lang they say I would be working with in the job description). Only one technical question was asked what is the difference between Java7 and Java8. Nothing on data structures, algorithm, or any theoretical questions. Which was odd since all new grad positions focused on some variations of those questions. The job description made the job seem interesting but after hearing more about the role it just wasn't for me(they pretty much told me I will primarily be working with old tech which was not really covered on the job description). Overall the whole process was not great from the beginning. It did not leave me with a good impression of the company.
avatar

Associate Full Stack Software Engineer

Interviewed at Delta Air Lines

4.2
Oct 29, 2021

Felt like they were unprepared (one person was late) and didn't really care much what I had to say. I studied Data Structures and Algorithms and Java interview questions (Java was the primary lang they say I would be working with in the job description). Only one technical question was asked what is the difference between Java7 and Java8. Nothing on data structures, algorithm, or any theoretical questions. Which was odd since all new grad positions focused on some variations of those questions. The job description made the job seem interesting but after hearing more about the role it just wasn't for me(they pretty much told me I will primarily be working with old tech which was not really covered on the job description). Overall the whole process was not great from the beginning. It did not leave me with a good impression of the company.

Review the EmployeeManager class. Identify and explain the bad practices in the code. Find the bugs that could cause errors during execution. Provide suggestions for improving the code quality and functionality. Consider the following aspects: Code structure and readability. Proper use of data structures. Error handling and edge case considerations. Java coding standards and best practices. Write your review and improvement suggestions. Explain why certain parts of the code are problematic. Suggest specific changes and improvements. import java.util.List; import java.util.ArrayList; public class EmployeeManager { private List employees; public EmployeeManager() { employees = new ArrayList<>(); } // Adds an employee to the list public void addEmployee(String name) { if(name != null || !name.isEmpty()) { employees.add(name); } } // Removes an employee from the list public void removeEmployee(String name) { if(employees.contains(name)) { employees.remove(name); } } // Prints all employees public void printEmployees() { for(int i = 0; i <= employees.size(); i++) { //index out of bounds will throw here System.out.println(employees.get(i)); } } // Finds an employee by name public boolean findEmployee(String name) { for(String employee : employees) { if(employee == name) {// .equals() for string comparision return true; } } return false; } // Adds an employee to a database public void addEmployeeToDatabase(String name, Connection conn) { PreparedStatement stmt = null; try { if (name != null && !name.isEmpty()) { String sql = "INSERT INTO employees (name) VALUES (?)"; stmt = conn.prepareStatement(sql); stmt.setString(1, name); stmt.executeUpdate(); stmt.close(); } } catch (SQLException e) { e.printStackTrace(); } } } }
avatar

Full Stack Software Engineer

Interviewed at Costco Wholesale

3.9
Jul 16, 2024

Review the EmployeeManager class. Identify and explain the bad practices in the code. Find the bugs that could cause errors during execution. Provide suggestions for improving the code quality and functionality. Consider the following aspects: Code structure and readability. Proper use of data structures. Error handling and edge case considerations. Java coding standards and best practices. Write your review and improvement suggestions. Explain why certain parts of the code are problematic. Suggest specific changes and improvements. import java.util.List; import java.util.ArrayList; public class EmployeeManager { private List employees; public EmployeeManager() { employees = new ArrayList<>(); } // Adds an employee to the list public void addEmployee(String name) { if(name != null || !name.isEmpty()) { employees.add(name); } } // Removes an employee from the list public void removeEmployee(String name) { if(employees.contains(name)) { employees.remove(name); } } // Prints all employees public void printEmployees() { for(int i = 0; i <= employees.size(); i++) { //index out of bounds will throw here System.out.println(employees.get(i)); } } // Finds an employee by name public boolean findEmployee(String name) { for(String employee : employees) { if(employee == name) {// .equals() for string comparision return true; } } return false; } // Adds an employee to a database public void addEmployeeToDatabase(String name, Connection conn) { PreparedStatement stmt = null; try { if (name != null && !name.isEmpty()) { String sql = "INSERT INTO employees (name) VALUES (?)"; stmt = conn.prepareStatement(sql); stmt.setString(1, name); stmt.executeUpdate(); stmt.close(); } } catch (SQLException e) { e.printStackTrace(); } } } }

Given a list of daily flight prices to Maui, return a list such that, for each day in the input, tells you how many days you would have to wait until a cheaper flight is available. If there is no future day for which this is possible, put 0 instead. Example: given the list of flights [350, 349, 348, 225, 415, 300, 500, 200], your output should be [1, 1, 1, 4, 1, 2, 1, 0] For $350, wait 1 day for next lower price of $349 For $349, wait 1 day for next lower price of $348 For $348, wait 1 day for next lower price of $225 For $225, need to wait 4 days for next lower price of $200
avatar

Full Stack Software Engineer

Interviewed at Costco Wholesale

3.9
Jul 16, 2024

Given a list of daily flight prices to Maui, return a list such that, for each day in the input, tells you how many days you would have to wait until a cheaper flight is available. If there is no future day for which this is possible, put 0 instead. Example: given the list of flights [350, 349, 348, 225, 415, 300, 500, 200], your output should be [1, 1, 1, 4, 1, 2, 1, 0] For $350, wait 1 day for next lower price of $349 For $349, wait 1 day for next lower price of $348 For $348, wait 1 day for next lower price of $225 For $225, need to wait 4 days for next lower price of $200

Viewing 321 - 330 interview questions

See Interview Questions for Similar Jobs

Glassdoor has 1,668 interview questions and reports from Full stack software engineer interviews. Prepare for your interview. Get hired. Love your job.