Citicorp interview experience Real time questions & tips from candidates to crack your interview

IT Analyst- C2

Citicorp
upvote
share-icon
2 rounds | 3 Coding problems

Interview preparation journey

expand-icon
Journey
In my college life, I decided to learnt DSA and get into the field of IT. However, I started a little late, I started doing DSA from the end of second year. I also focused on aptitude and logic puzzles. I learnt web development and made some small projects.
Application story
This was an on-campus opportunity. I applied through the college placement cell. The first resume shortlisting was performed. After the online test 15 candidates were selected for interviews.
Why selected/rejected for the role?
I was rejected in technical round where I am unable to solve one of the questions given in technical round.
Preparation
Duration: 3 months
Topics: Data Structures, Algorithms, System Design, Aptitude, OOPS
Tip
Tip

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.

Application process
Where: Campus
Eligibility: Above 7 CGPA
Resume Tip
Resume tip

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.

Interview rounds

01
Round
Easy
Online Coding Interview
Duration75 minutes
Interview date20 Jul 2022
Coding problem1

The selection procedure included an aptitude test managed by Amcat. It included Quant , Verbal, C Aptitude and 2 Coding questions. The level of the questions were easy but the time was limited as in one question per minute time was allotted and the cut-offs were close to 80% in the aptitude sections. Since it was open for all branches 270 people appeared ad 70 were shortlisted.

1. 0 1 Knapsack

Moderate
0/80
Asked in companies
AmazonTwitterInnovaccer

A thief is robbing a store and can carry a maximum weight of ‘W’ into his knapsack. There are 'N' items available in the store and the weight and value of each item is known to the thief. Considering the constraints of the maximum weight that a knapsack can carry, you have to find the maximum profit that a thief can generate by stealing items.

Note: The thief is not allowed to break the items.

For example, N = 4, W = 10 and the weights and values of items are weights = [6, 1, 5, 3] and values = [3, 6, 1, 4]. Then the best way to fill the knapsack is to choose items with weight 6, 1 and 3. The total value of knapsack = 3 + 6 + 4 = 13.

Problem approach

Used Dp to solve the problem.

Try solving now
02
Round
Medium
Video Call
Duration45 minutes
Interview date20 Jul 2022
Coding problem2

They asked me basics of arrays and linked lists which included efficient swapping, searching, deletion, etc and a few puzzles.
Tips: For C Aptitude , basics of DS is sufficient. Also people from non-CS and non-IT branches, do ask your CS and IT friends to tell you some common Data Structures interview questions.

1. Swap Nodes in Pairs

Moderate
40m average time
60% success
0/80
Asked in companies
OLX GroupAmazonMicrosoft

You are given a singly linked list of integers.

Your task is to swap every two adjacent nodes, and return the head of the modified, linked list.

For Example:

We have a linked list 1->2->3->4->5->6->7 and so on. You are supposed to swap pairs of a linked list like swap (1,2), (3,4), (5,6), and so on.
Note:
1. You may not modify the data in the list’s nodes; only nodes themselves may be changed. Because imagine a case where a node contains many fields, so there will be too much unnecessary swap.

2. If a pair of a node does not exist, then leave the node as it is.
Problem approach

Our idea is to swap the links of each pair from the “HEAD” of the list until we reach the end of the list or there is only one element left.

Here, note that after the swap, the head of our list may change if the size of the input list is larger than one, so we are using a dummy node as a placeholder to splice our result list. In this way, we can start with the dummy node and check if there exists a pair of nodes after the current pointer we perform a swap on their links.

Try solving now

2. Search In Rotated Sorted Array

Moderate
30m average time
65% success
0/80
Asked in companies
PayPalFreshworksSAP Labs

Aahad and Harshit always have fun by solving problems. Harshit took a sorted array consisting of distinct integers and rotated it clockwise by an unknown amount. For example, he took a sorted array = [1, 2, 3, 4, 5] and if he rotates it by 2, then the array becomes: [4, 5, 1, 2, 3].

After rotating a sorted array, Aahad needs to answer Q queries asked by Harshit, each of them is described by one integer Q[i]. which Harshit wanted him to search in the array. For each query, if he found it, he had to shout the index of the number, otherwise, he had to shout -1.

For each query, you have to complete the given method where 'key' denotes Q[i]. If the key exists in the array, return the index of the 'key', otherwise, return -1.

Note:

Can you solve each query in O(logN) ?
Problem approach

Used Binary search

Try solving now

Here's your problem of the day

Solving this problem will increase your chance to get selected in this company

Skill covered: Programming

What is the purpose of the return keyword?

Choose another skill to practice
Similar interview experiences
company logo
SDE - 1
3 rounds | 7 problems
Interviewed by OYO
4781 views
0 comments
0 upvotes
Graduate Engineer Trainee
2 rounds | 5 problems
Interviewed by Citicorp
843 views
0 comments
0 upvotes
company logo
SDE - 1
2 rounds | 5 problems
Interviewed by Meesho
6543 views
0 comments
0 upvotes
company logo
SDE - 1
3 rounds | 9 problems
Interviewed by Salesforce
3566 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
IT Analyst- C2
4 rounds | 8 problems
Interviewed by Oracle
956 views
0 comments
0 upvotes