Filter interviews by
I applied via Naukri.com and was interviewed in Jun 2022. There were 2 interview rounds.
Write a program of sorting string
Time complexity refers to the amount of time taken by an algorithm to run as the input size increases.
It is a measure of how efficient an algorithm is.
It is usually expressed in Big O notation.
The lower the time complexity, the better the algorithm.
For example, an algorithm with O(n) time complexity will take longer as the input size increases compared to an algorithm with O(1) time complexity.
Static keyword is used to declare a variable or method that belongs to the class and not to the instance of the class.
Static variables are shared by all instances of a class
Static methods can be called without creating an instance of the class
Static blocks are used to initialize static variables
Static keyword can also be used to create nested classes
Example: public static int count;
Top trending discussions
Assistant Professor
79
salaries
| ₹2 L/yr - ₹7.5 L/yr |
Associate Professor
13
salaries
| ₹6 L/yr - ₹10 L/yr |
Assistant Manager
7
salaries
| ₹3 L/yr - ₹3.8 L/yr |
Admission Counsellor
7
salaries
| ₹1.3 L/yr - ₹2.2 L/yr |
Marketing Executive
7
salaries
| ₹1.8 L/yr - ₹2.5 L/yr |
Amity University
Manipal University
Lovely Professional University
SRM Institute of Science and Technology