Filter interviews by
Clear (1)
I applied via Approached by Company
Mostly they asked questions on String or basic coding questions
Use two-pointer approach to move all zeros to the beginning of the array.
Initialize two pointers, one at the beginning and one at the end of the array.
Swap elements at the two pointers if the element at the beginning pointer is zero.
Move the pointers towards each other until they meet.
Data structure and Algorithm
Citicorp interview questions for designations
I applied via Naukri.com and was interviewed in Jul 2022. There were 4 interview rounds.
HashMap is faster than TreeMap wrto performance due to its constant time complexity for most operations.
HashMap has O(1) time complexity for most operations while TreeMap has O(log n) time complexity.
HashMap is implemented using an array of buckets while TreeMap is implemented using a Red-Black Tree.
HashMap is preferred for frequent read operations while TreeMap is preferred for frequent write operations.
HashMap is uno...
Yes, it is possible to write a try catch block inside a catch block.
This is called nested try-catch block.
It is useful when we want to handle different types of exceptions in different ways.
Example: try { //code } catch (ExceptionType1 e1) { try { //code } catch (ExceptionType2 e2) { //code } } }
It is important to avoid excessive nesting as it can make the code difficult to read and maintain.
Yes, multiple exceptions can be caught in a single catch block separated by commas.
Multiple exceptions can be caught in a single catch block separated by commas.
This can be useful when handling different types of exceptions in a similar way.
For example: catch (IOException | SQLException ex) { // handle exception }
I applied via Recruitment Consulltant and was interviewed in Feb 2022. There were 3 interview rounds.
I applied via Naukri.com and was interviewed before Mar 2023. There was 1 interview round.
I applied via Naukri.com and was interviewed in Nov 2021. There was 1 interview round.
REST API methods are used to interact with web services using HTTP requests.
GET method is used to retrieve data from the server
POST method is used to create new data on the server
PUT method is used to update existing data on the server
DELETE method is used to delete data from the server
REST APIs use HTTP status codes to indicate the success or failure of a request
Top trending discussions
posted on 21 Oct 2024
I applied via Recruitment Consulltant and was interviewed in Sep 2024. There were 4 interview rounds.
Basic hacker rank problem
posted on 4 Jan 2025
I applied via Recruitment Consulltant and was interviewed in Jul 2024. There was 1 interview round.
List is mutable, tuple is immutable in Python.
List can be modified after creation, tuple cannot.
List uses square brackets [], tuple uses parentheses ().
List is used for collections of items that may change, tuple for fixed collections.
Example: list - [1, 2, 3], tuple - (1, 2, 3)
based on 7 interviews
2 Interview rounds
based on 34 reviews
Rating in categories
Assistant Vice President
4.7k
salaries
| ₹0 L/yr - ₹0 L/yr |
Assistant Manager
3.3k
salaries
| ₹0 L/yr - ₹0 L/yr |
Officer
2.9k
salaries
| ₹0 L/yr - ₹0 L/yr |
Vice President
2.5k
salaries
| ₹0 L/yr - ₹0 L/yr |
Manager
2.3k
salaries
| ₹0 L/yr - ₹0 L/yr |
State Bank of India
HDFC Bank
ICICI Bank
Axis Bank