New Grad SWE Interview Questions
by Nian Li
Posted on March 30, 2020
In this article, new Grad SWE Technical interview questions would be introduced in various sectors. For my personal experience, I interviewed full-time SWE positions for over 10 companies in 2020 and interviewers are from their Singapore, United States and China office.
Personally, I prepared my SWE interview for around 1 month and I wrote down those questions which I think are important to review. From my experience, over 50% interview questions I was asked appear in my prepared question list. Here, I would like to share my list to you and I hope it can help you get your dream SWE job!
Algorithm & Data Structure Coding
Interview Position: All
Leetcode Solution Page
Interview Position: C++ Engineer
List the types of inheritance supported in C++.
Explain Encapsulation, abstraction and inheritance.
Explain the purpose of the keyword volatile and extern.
What is an inline function?
What is a storage class? What is the role of mutable storage class specifier?
Distinguish between shallow copy and deep copy.
Function Overloading v.s. Function Overriding
virtual & pure virtual function Abstract class and assignment
New & delete
References vs pointers
Static member variable & Static member functions Name the data type which can be used to store wide characters in C++
Do we have a String primitive data type in C++?
Un-buffered standard error stream (cerr) & Buffered standard error stream (clog)
Destructor & Can it be overloaded?
Constructors & default Constructors & parameterized Constructors & copy constructor
Constructor Overloading Difference between the keywords struct and class in C++
Block scope variable
Command line arguments
Can a program be compiled without main() function?
Different ways of passing parameters to the functions
What is the full form of STL?
S++ or S = S+1, which can be recommended to increment the value by 1 and why?
Actual and formal parameters
Variable declaration and variable definition
Scope resolution operator
Interview Position: All
Explain what is Computer Architecture
How Computer Architecture is characterized?
Mention what are the different types of fields that are part of an instruction?
Mention what are the basic components of a Microprocessor?
Mention what are different types of interrupts in a microprocessor system? Explain?
Mention what are the common components of a microprocessor are?
Mention what is the simplest way to determine cache locations in which to store memory blocks?
What technique is used to automatically move program and data blocks into the physical main memory when they are required for execution?
Redundant Array of Independant Disk (RAID)
Mention what are the types of micro-operations?
Explain what is WAIT state?
Explain how you can deal with WAIT state?
Explain How Many Types Of Memory In Computer Architecture?
What Do You Understand Vertical Micro Code?
Explain The Cpu Is Busy But You Want To Stop And Do Some Other Task. How Do You Do It?
What Are The Different Types Of Fields That Are Part Of An Instruction?explain?
Steps in an Instruction Cycle
Explain The Difference Between Interrupt Service Routine And Subroutine?
Interview Position: System / Server Engineer
How to check the kernel version of a Linux system?
How to see the current IP address on Linux?
How to check for free disk space in Linux?
How to see if a Linux service is running?
How to check the size of a directory in Linux?
How to check for open ports in Linux?
How to check Linux process information (CPU usage, memory, user information, etc.)?
How to deal with mounts in Linux
What is Linux Kernel?
What is LILO
Check serial port numbers?
Show difference between 2 files
How you can view the text file using Terminal?
Get group ID and name?
What is Linux system call?
ACL -- Access Contril Lists
Lightweight Directory Access Protocol
Process states in Linux?
Interview Position: Machine Learning / AI Engineer
What’s the trade-off between bias and variance?
What is the difference between supervised and unsupervised machine learning?
How is KNN different from k-means clustering?
Explain how a ROC curve works.
Define precision and recall.
What is Bayes’ Theorem? How is it useful in a machine learning context?
Why is “Naive” Bayes naive?
Explain the difference between L1 and L2 regularization.
What’s your favorite algorithm, and can you explain it to me in less than a minute?
What’s the difference between Type I and Type II error?
What’s a Fourier transform?
What’s the difference between probability and likelihood?
What is deep learning, and how does it contrast with other machine learning algorithms?
What’s the difference between a generative and discriminative model?
What cross-validation technique would you use on a time series dataset?
How is a decision tree pruned?
Which is more important to you– model accuracy, or model performance?
What’s the F1 score? How would you use it?
How would you handle an imbalanced dataset?
When should you use classification over regression?
Name an example where ensemble techniques might be useful.
How do you ensure you’re not overfitting with a model?
What evaluation approaches would you work to gauge the effectiveness of a machine learning model?
How would you evaluate a logistic regression model?
What’s the “kernel trick” and how is it useful?
How do you handle missing or corrupted data in a dataset?
Do you have experience with Spark or big data tools for machine learning?
What are the different types of Machine Learning?
What do you understand by selection bias?
What is the difference between inductive and deductive learning?
What is the difference between Gini Impurity and Entropy in a Decision Tree
What is the difference between Entropy and Information Gain?
Explain Ensemble learning technique in Machine Learning.
What is bagging and boosting in Machine Learning?
What are collinearity and multicollinearity
Simple/Stratified/Clustered Random Sample; Cluster Sample
What is the main difference between a Pandas series and a single-column DataFrame in Python?
Interview Position: All
Interview Position: All (especially back-end & full-stack engineer)
Interview Position: Back-end, Full-stack & Data Engineer