i
Toast
Filter interviews by
I applied via LinkedIn and was interviewed in Nov 2024. There was 1 interview round.
Top trending discussions
I applied via Naukri.com and was interviewed in Apr 2024. There were 2 interview rounds.
C,c++ questions and two coding questions. basic mcq
TreeSet and HashSet are both implementations of the Set interface in Java, but they have some key differences.
TreeSet is a sorted set that maintains elements in ascending order, while HashSet does not guarantee any specific order.
TreeSet uses a Red-Black tree data structure for storage, which allows for efficient retrieval of elements in sorted order.
HashSet uses a hash table for storage, which provides constant-time p...
It was easy basic questions were there and we were asked to write two emails.
I applied via Company Website and was interviewed in Feb 2024. There were 2 interview rounds.
Normal Basic Interview GK, Maths,Average.
Using 'continue' in a loop to skip current iteration and move to the next one.
Continue statement is used to skip the current iteration of a loop and move to the next one.
Helps in avoiding unnecessary code execution within a loop.
Example: for(int i=0; i<5; i++) { if(i == 2) { continue; } System.out.println(i); }
I applied via Company Website and was interviewed in Mar 2024. There was 1 interview round.
There were 50 question out of which if you score 20 you were passed out to next round, No negative markings.
posted on 30 Oct 2023
C# is a programming language developed by Microsoft for building a wide range of applications on the .NET framework.
C# is an object-oriented language with features like classes, inheritance, and polymorphism.
It is strongly typed, meaning variables must be declared with a specific data type.
C# supports modern programming concepts like async/await for asynchronous programming.
It is commonly used for developing desktop, w...
I applied via Naukri.com and was interviewed before Jan 2024. There was 1 interview round.
I was interviewed before Feb 2022.
I was interviewed before Apr 2021.
Round duration - 60 minutes
Round difficulty - Easy
The second round is also written but you need to write programming based on their concept.
The naïve approach for this question is to run a loop from the start to the end number. And for each number, check if it is prime or not. If the number is prime, we print it otherwise skip it.
One optimization to this approach would be to skip all even numbers (except 2 if present in interval) since even numbers are not prime.
Function to check if a number is prime or not :
isPrime(n):
if (n <= 1) return false
for (i=2;
The idea is to create a copy of num and recursively pass the copy by reference, and pass num by value. In the recursive calls, divide num by 10 while moving down the recursion tree. While moving up the recursion tree, divide the copy by 10. When they meet in a function for which all child calls are over, the last digit of num will be ith digit from the beginning and the last digit of copy will be ith digit from the end
Round duration - 60 minutes
Round difficulty - Easy
Technical round with questions mainly on Java and OOPS concepts.
Difference between Static methods and Instance methods
Instance method can access the instance methods and instance variables directly.
Instance method can access static variables and static methods directly.
Static methods can access the static variables and static methods directly.
Static methods can’t access instance methods and instance variables directly. They must use reference to object. And static method can’t use this keyword as there is no instance for ‘this’ to ref
Difference between Abstract Class and Interface
1) Abstract class can have abstract and non-abstract methods. Interface can have only abstract methods. Since Java 8, it can have default and static methods also.
2) Abstract class doesn't support multiple inheritance. Interface supports multiple inheritance.
3) Abstract class can have final, non-final, static and non-static variables. Interface has only static and final variables.
4) Abstract class can provide the implem...
ClassNotFoundException Vs NoClassDefFoundError in Java
1. As the name suggests, ClassNotFoundException is an exception while NoClassDefFoundError is an error.
2. ClassNotFoundException occurs when classpath does not get updated with required JAR files while error occurs when the required class definition is not present at runtime.
Difference between Error and Exception
1 Type :
Error : Classified as an unchecked type
Exception : Classified as checked and unchecked
2 Package :
Error : It belongs to java.lang.error
Exception : It belongs to java.lang.Exception
3 Recoverable/ Irrecoverable :
Error : It is irrecoverable
Exception : It is recoverable
4 Error : It can't be occur at compile time
Exception : It can occur at run time compile time both
5 Ex...
What is SerialVersionUID?
The serialization at runtime associates with each serializable class a version number called a serialVersionUID, which is used during deserialization to verify that the sender and receiver of a serialized object have loaded classes for that object that are compatible with respect to serialization.
What are the requirement for creating a Immutable Class in Java?
Following are the requirements:
The class must be declared as final so that child classes can’t be created.
Data members in the class must be declared private so that direct access is not allowed.
Data members in the class must be declared as final so that we can’t change the value of it after object creation.
A parameterized constructor should initialize all the fields performing a deep copy so that data members can...
Tip 1 : Must do Previously asked Interview as well as Online Test Questions.
Tip 2 : Go through all the previous interview experiences from Codestudio and Leetcode.
Tip 3 : Do at-least 2 good projects and you must know every bit of them.
Tip 1 : Have at-least 2 good projects explained in short with all important points covered.
Tip 2 : Every skill must be mentioned.
Tip 3 : Focus on skills, projects and experiences more.
Software Engineer
15
salaries
| ₹5.5 L/yr - ₹20 L/yr |
Software Engineer2
12
salaries
| ₹8.5 L/yr - ₹28 L/yr |
Senior Software Engineer
7
salaries
| ₹23 L/yr - ₹38 L/yr |
QA Engineer
7
salaries
| ₹5 L/yr - ₹12.4 L/yr |
Senior Automation Engineer
4
salaries
| ₹29 L/yr - ₹29.5 L/yr |
Swiggy
Zomato
café Coffee day
Barbeque Nation