Upload Button Icon Add office photos

Filter interviews by

Citibank Java Full Stack Developer Interview Questions and Answers

Updated 25 Jul 2022

Citibank Java Full Stack Developer Interview Experiences

1 interview found

I applied via Naukri.com and was interviewed in Jan 2022. There were 5 interview rounds.

Round 1 - Technical 

(1 Question)

  • Q1. Typical theory questions realted to Java colllection, Java memory management, spring.
Round 2 - Technical 

(1 Question)

  • Q1. Questions in this round were more related to nitty gritty of Java and spring, like what will happen if you just overrride equals and not hashcode, what will happend if you swap stereotype annotations,
Round 3 - Behavioral 

(1 Question)

  • Q1. Explaining current project and some easy questions on it. Chit chat about team and working condition
Round 4 - Independant assesment 

(1 Question)

  • Q1. In this round someone from a different team that you will be joining will ask technical question of easy to medium degree of difficulty related to Java, angular and spring
Round 5 - HR 

(1 Question)

  • Q1. Typical questions on DOJ salary, wfh etc

Interview Preparation Tips

Interview preparation tips for other job seekers - Overall experience was good but I was expecting better questions in technical rounds

Interview questions from similar companies

Interview experience
2
Poor
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
No response

I applied via Naukri.com and was interviewed in Apr 2024. There were 2 interview rounds.

Round 1 - Technical 

(6 Questions)

  • Q1. Java 8 Features
  • Q2. Default Interface
  • Q3. Write code for Builder/Factory Pattern, basically anything other than Singleton
  • Ans. 

    Builder/Factory Pattern is used to create objects with complex initialization logic.

    • Builder Pattern separates the construction of a complex object from its representation.

    • Factory Pattern creates objects without specifying the exact class of object that will be created.

    • Builder Pattern is often used to create immutable objects with many optional parameters.

    • Factory Pattern is used when there is a need to create multiple i...

  • Answered by AI
  • Q4. Why is Redux used in React
  • Ans. 

    Redux is used in React to manage the application state in a predictable way.

    • Centralized state management for React applications

    • Predictable state changes with actions and reducers

    • Easier debugging and testing of state changes

    • Facilitates communication between components

  • Answered by AI
  • Q5. Second Highest Salary from Employee Table
  • Q6. Filter a List using Streams
  • Ans. 

    Filter a List using Streams in Java

    • Use the filter() method to apply a predicate to each element in the stream

    • Use collect() method to convert the stream back to a List

    • Example: List names = Arrays.asList("Alice", "Bob", "Charlie"); List filteredNames = names.stream().filter(name -> name.startsWith("A")).collect(Collectors.toList());

Answered by AI
Round 2 - Technical 

(7 Questions)

  • Q1. Write snippet for creating an Entity Class.
  • Ans. 

    Creating an Entity Class in Java

    • Define class with @Entity annotation

    • Add @Id annotation for primary key

    • Include fields with appropriate data types

  • Answered by AI
  • Q2. Different Types of Autowiring
  • Ans. 

    There are three types of autowiring in Spring: byType, byName, and constructor.

    • byType: Spring looks for a bean of the same type and injects it.

    • byName: Spring looks for a bean with the same name and injects it.

    • constructor: Spring looks for a constructor and injects the arguments.

  • Answered by AI
  • Q3. Lazy vs Eager Fetch
  • Ans. 

    Lazy fetch loads data only when needed, while eager fetch loads all related data upfront.

    • Lazy fetch is more efficient for performance as it only loads data when required.

    • Eager fetch can lead to performance issues by loading unnecessary data upfront.

    • Lazy fetch is the default behavior in JPA, while eager fetch needs to be explicitly specified.

    • Example: Lazy fetch can be used for loading a list of items in a shopping cart ...

  • Answered by AI
  • Q4. Transaction Management in Hibernate
  • Ans. 

    Transaction management in Hibernate ensures ACID properties for database operations.

    • Hibernate provides built-in transaction management support through Session interface.

    • Transactions can be managed programmatically using beginTransaction(), commit(), and rollback() methods.

    • Hibernate also supports declarative transaction management using annotations like @Transactional.

    • Transactions in Hibernate ensure Atomicity, Consiste...

  • Answered by AI
  • Q5. Attached Entity vs Detached Entity
  • Ans. 

    Attached entities are actively managed by the persistence context, while detached entities are no longer actively managed.

    • Attached entities are being managed by the persistence context and any changes made to them will be automatically synchronized with the database.

    • Detached entities are not being managed by the persistence context and changes made to them will not be automatically synchronized with the database.

    • Entiti...

  • Answered by AI
  • Q6. Write Snippet to create two beans
  • Ans. 

    Creating two beans in Java using Spring framework

    • Use @Component annotation to define a bean

    • Specify the bean name using @Component("beanName")

    • Use @Autowired annotation to inject one bean into another

  • Answered by AI
  • Q7. Sort an Employee HashMap
  • Ans. 

    Sort an Employee HashMap based on keys or values

    • Use TreeMap to automatically sort by keys

    • Use Comparator to sort by values

    • Convert HashMap to List and then sort

  • Answered by AI

Interview Preparation Tips

Topics to prepare for Deutsche Bank Java Full Stack Developer interview:
  • Spring Framework
Interview preparation tips for other job seekers - First Round was conducted by HirePro

Skills evaluated in this interview

Interview experience
2
Poor
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
No response

I applied via Naukri.com and was interviewed in Apr 2024. There were 2 interview rounds.

Round 1 - Technical 

(6 Questions)

  • Q1. Java 8 Features
  • Q2. Default Interface
  • Q3. Write code for Builder/Factory Pattern, basically anything other than Singleton
  • Ans. 

    Builder/Factory Pattern is used to create objects with complex initialization logic.

    • Builder Pattern separates the construction of a complex object from its representation.

    • Factory Pattern creates objects without specifying the exact class of object that will be created.

    • Builder Pattern is often used to create immutable objects with many optional parameters.

    • Factory Pattern is used when there is a need to create multiple i...

  • Answered by AI
  • Q4. Why is Redux used in React
  • Ans. 

    Redux is used in React to manage the application state in a predictable way.

    • Centralized state management for React applications

    • Predictable state changes with actions and reducers

    • Easier debugging and testing of state changes

    • Facilitates communication between components

  • Answered by AI
  • Q5. Second Highest Salary from Employee Table
  • Q6. Filter a List using Streams
  • Ans. 

    Filter a List using Streams in Java

    • Use the filter() method to apply a predicate to each element in the stream

    • Use collect() method to convert the stream back to a List

    • Example: List names = Arrays.asList("Alice", "Bob", "Charlie"); List filteredNames = names.stream().filter(name -> name.startsWith("A")).collect(Collectors.toList());

Answered by AI
Round 2 - Technical 

(7 Questions)

  • Q1. Write snippet for creating an Entity Class.
  • Ans. 

    Creating an Entity Class in Java

    • Define class with @Entity annotation

    • Add @Id annotation for primary key

    • Include fields with appropriate data types

  • Answered by AI
  • Q2. Different Types of Autowiring
  • Ans. 

    There are three types of autowiring in Spring: byType, byName, and constructor.

    • byType: Spring looks for a bean of the same type and injects it.

    • byName: Spring looks for a bean with the same name and injects it.

    • constructor: Spring looks for a constructor and injects the arguments.

  • Answered by AI
  • Q3. Lazy vs Eager Fetch
  • Ans. 

    Lazy fetch loads data only when needed, while eager fetch loads all related data upfront.

    • Lazy fetch is more efficient for performance as it only loads data when required.

    • Eager fetch can lead to performance issues by loading unnecessary data upfront.

    • Lazy fetch is the default behavior in JPA, while eager fetch needs to be explicitly specified.

    • Example: Lazy fetch can be used for loading a list of items in a shopping cart ...

  • Answered by AI
  • Q4. Transaction Management in Hibernate
  • Ans. 

    Transaction management in Hibernate ensures ACID properties for database operations.

    • Hibernate provides built-in transaction management support through Session interface.

    • Transactions can be managed programmatically using beginTransaction(), commit(), and rollback() methods.

    • Hibernate also supports declarative transaction management using annotations like @Transactional.

    • Transactions in Hibernate ensure Atomicity, Consiste...

  • Answered by AI
  • Q5. Attached Entity vs Detached Entity
  • Ans. 

    Attached entities are actively managed by the persistence context, while detached entities are no longer actively managed.

    • Attached entities are being managed by the persistence context and any changes made to them will be automatically synchronized with the database.

    • Detached entities are not being managed by the persistence context and changes made to them will not be automatically synchronized with the database.

    • Entiti...

  • Answered by AI
  • Q6. Write Snippet to create two beans
  • Ans. 

    Creating two beans in Java using Spring framework

    • Use @Component annotation to define a bean

    • Specify the bean name using @Component("beanName")

    • Use @Autowired annotation to inject one bean into another

  • Answered by AI
  • Q7. Sort an Employee HashMap
  • Ans. 

    Sort an Employee HashMap based on keys or values

    • Use TreeMap to automatically sort by keys

    • Use Comparator to sort by values

    • Convert HashMap to List and then sort

  • Answered by AI

Interview Preparation Tips

Topics to prepare for Deutsche Bank Java Full Stack Developer interview:
  • Spring Framework
Interview preparation tips for other job seekers - First Round was conducted by HirePro

Skills evaluated in this interview

Interview experience
4
Good
Difficulty level
Moderate
Process Duration
-
Result
Selected Selected

I applied via Recruitment Consulltant

Round 1 - Resume Shortlist 
Pro Tip by AmbitionBox:
Keep your resume crisp and to the point. A recruiter looks at your resume for an average of 6 seconds, make sure to leave the best impression.
View all tips
Round 2 - Coding Test 

Java OPPS, JavaScript, HTML, SQL Questions / 1 Hour

Round 3 - Technical 

(1 Question)

  • Q1. Project, Design, Tools, Framework, Coding Stuff
Round 4 - Technical 

(1 Question)

  • Q1. The most difficult challenges faced, situation-based approach, dealing with ambiguous requirements
  • Ans. 

    Dealing with ambiguous requirements and difficult challenges in a situation-based approach.

    • Identifying and clarifying ambiguous requirements through effective communication

    • Breaking down complex problems into smaller, manageable tasks

    • Adapting to changing priorities and tight deadlines

    • Collaborating with team members to brainstorm solutions

    • Using critical thinking and problem-solving skills to find innovative solutions

    • Mana...

  • Answered by AI
Round 5 - One-on-one 

(1 Question)

  • Q1. Puzzles, Probability, Maths BrainTeasers, Conflict Situation Response, Dare Stapes
Round 6 - HR 

(1 Question)

  • Q1. Standard Norms Question, Salary Expection, Reason for Change, culture fit questions
Interview experience
5
Excellent
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Resume Shortlist 
Pro Tip by AmbitionBox:
Don’t add your photo or details such as gender, age, and address in your resume. These details do not add any value.
View all tips
Round 2 - One-on-one 

(3 Questions)

  • Q1. What is transactional annotation in spring ?
  • Ans. 

    Transactional annotation in Spring is used to define the scope of a transaction.

    • Transactional annotation is used to mark a method or a class as transactional.

    • It ensures that all the operations within the annotated method or class are executed within a single transaction.

    • If an exception occurs, the transaction is rolled back.

    • Transactional annotation can be applied at the method level or class level.

    • It provides various a...

  • Answered by AI
  • Q2. What is cache in spring?
  • Ans. 

    Cache in Spring is a mechanism to store frequently accessed data in memory for faster retrieval.

    • Cache improves application performance by reducing the load on the database.

    • Spring provides caching support through annotations like @Cacheable, @CachePut, and @CacheEvict.

    • Caches can be configured with different eviction policies, such as LRU or FIFO.

    • Example: @Cacheable annotation can be used to cache the result of a method

  • Answered by AI
  • Q3. It stores the data in cache, where checks the dup

Skills evaluated in this interview

I was interviewed in Aug 2021.

Round 1 - Coding Test 

(1 Question)

Round duration - 30 minutes
Round difficulty - Medium

It was in the morning. We had to complete 1 coding question in given time limit

  • Q1. Most Frequent Word

    You are given a paragraph that may have letters both in lowercase and uppercase, spaces, and punctuation. You have also given a list of banned words. Now your task is to find the most fr...

  • Ans. Brute Force
    1. To find the frequency of each word we need to extract the words from the paragraph.
    2. So we will convert all the punctuation to space in the paragraph and lowercase alphabets to uppercase.
    3. Now we can use the library function (e.g sstream in C++) to extract words from the paragraph in an array of strings say WORDS.
    4. We will iterate over WORDS and do:
      1. Iterate over the banned array and check if the current word is pre...
  • Answered by CodingNinjas
Round 2 - Video Call 

(3 Questions)

Round duration - 60 minutes
Round difficulty - Hard

Interviewer was friendly. He asked 2 coding questions and some fullstack questions. 

  • Q1. Ways To Make Coin Change

    You are given an infinite supply of coins of each of denominations D = {D0, D1, D2, D3, ...... Dn-1}. You need to figure out the total number of ways W, in which you can make a cha...

  • Ans. Recursion

     

    1. The idea is to use recursion.
    2. For a particular coin, we have two options either include it or exclude it.
    3. If we include that coin, then calculate the remaining number that we have to generate so recur for that remaining number.
    4. If we exclude that coin, then recur for the same amount that we have to make.
    5. Our final answer would be the total number of ways either by including or excluding.
    6. There will be two edg...
  • Answered by CodingNinjas
  • Q2. The Skyline Problem

    You are given 'N' rectangular buildings in a 2-dimensional city. Your task is to compute the skyline of these buildings, eliminating hidden lines return the skyline formed by th...

  • Ans. Brute Force

    The idea here is to first, sort the critical POINTS with respect to their coordinate and height pairs. Make a pair of 'X1' and take a negative of the height for the building so that 'X1' pairs are sorted before 'X2' pairs. Create a dictionary keeping the heights as keys and as soon as a left edge of a building is encountered, we add that building to the dictionary with its height as the key. When we encounte...

  • Answered by CodingNinjas
  • Q3. Technical Questions

    What is DOM? 

    What are indexes in database. 

    What is the difference between stored functions and procedures?

Interview Preparation Tips

Eligibility criteriaNo criteriaStandard Chartered Bank interview preparation:Topics to prepare for the interview - Ds, oops, graphs, trees, dyanamic programming, dbmsTime required to prepare for the interview - 6 monthsInterview preparation tips for other job seekers

Tip 1 : Practice coding questions
Tip 2 : Try to research about previous interview questions

Application resume tips for other job seekers

Tip 1 : Prepare the resume as per the job
Tip 2 : Write in a clear manner

Final outcome of the interviewRejected

Skills evaluated in this interview

Interview experience
5
Excellent
Difficulty level
Easy
Process Duration
Less than 2 weeks
Result
Selected Selected

I applied via Campus Placement and was interviewed before Dec 2021. There were 4 interview rounds.

Round 1 - Resume Shortlist 
Pro Tip by AmbitionBox:
Properly align and format text in your resume. A recruiter will have to spend more time reading poorly aligned text, leading to high chances of rejection.
View all tips
Round 2 - Aptitude Test 

Not every process has aptitude but for IT departments and technical team ask for aptitude test

Round 3 - One-on-one 

(1 Question)

  • Q1. If fresher then you must know about the company and some banking terminology. If applying for specific role then you must carry knowledge of that subject.
Round 4 - HR 

(1 Question)

  • Q1. They will discuss about norms and salary structure

Interview Preparation Tips

Interview preparation tips for other job seekers - Getting job for fresher is not that difficult but if applying for some specific role then you must have relevant experience and should carry subject knowledge.

Citibank Interview FAQs

How many rounds are there in Citibank Java Full Stack Developer interview?
Citibank interview process usually has 5 rounds. The most common rounds in the Citibank interview process are Technical, Behavioral and HR.
What are the top questions asked in Citibank Java Full Stack Developer interview?

Some of the top questions asked at the Citibank Java Full Stack Developer interview -

  1. Questions in this round were more related to nitty gritty of Java and spring, l...read more
  2. In this round someone from a different team that you will be joining will ask t...read more
  3. Typical theory questions realted to Java colllection, Java memory management, s...read more

Tell us how to improve this page.

People are getting interviews through

based on 1 Citibank interview
Job Portal
100%
Low Confidence
?
Low Confidence means the data is based on a small number of responses received from the candidates.

Interview Questions from Similar Companies

ICICI Bank Interview Questions
4.0
 • 2.4k Interviews
HDFC Bank Interview Questions
3.9
 • 2.1k Interviews
Axis Bank Interview Questions
3.8
 • 1.4k Interviews
IDFC FIRST Bank Interview Questions
4.0
 • 615 Interviews
IndusInd Bank Interview Questions
3.6
 • 578 Interviews
Bandhan Bank Interview Questions
3.7
 • 512 Interviews
Yes Bank Interview Questions
3.8
 • 409 Interviews
View all
Assistant Manager
1.2k salaries
unlock blur

₹4.8 L/yr - ₹18.8 L/yr

Assistant Vice President
1.2k salaries
unlock blur

₹17 L/yr - ₹45.5 L/yr

Vice President
726 salaries
unlock blur

₹22.3 L/yr - ₹70 L/yr

Manager
697 salaries
unlock blur

₹10 L/yr - ₹30.5 L/yr

Officer
485 salaries
unlock blur

₹9.9 L/yr - ₹33 L/yr

Explore more salaries
Compare Citibank with

HDFC Bank

3.9
Compare

ICICI Bank

4.0
Compare

Axis Bank

3.8
Compare

State Bank of India

3.8
Compare

Calculate your in-hand salary

Confused about how your in-hand salary is calculated? Enter your annual salary (CTC) and get your in-hand salary
Did you find this page helpful?
Yes No
write
Share an Interview