CIS - Cyber Infrastructure interview experience Real time questions & tips from candidates to crack your interview

Trainee Engineer

CIS - Cyber Infrastructure
upvote
share-icon
3 rounds | 6 Coding problems

Interview preparation journey

expand-icon
Journey
During my second year of college, in lockdown, I started learning Data Structures and Algorithms through online platforms. I dedicated myself to the preparation of full-time placements and internship opportunities. I devoted significant time to practicing various questions to enhance my problem-solving skills. Also, I focused on core computer science subjects like DBMS, OS, and CN.
Application story
In August 2021, I applied for the Trainee Engineer role at Publicis Sapient during on-campus hiring. I showcased my passion for technology and problem-solving through a rigorous interview process. Joining the company marked the start of a journey filled with learning, growth, and the opportunity to shape the future through digital transformation.
Why selected/rejected for the role?
I performed well in the interview; I answered almost every question they asked very confidently, and cleared all rounds, and finally, I got selected.
Preparation
Duration: 12 months
Topics: DSA, OOPS, Computer Network, DBMS, Operating System, Design Patterns
Tip
Tip

Tip 1: Prepare a good resume that should be ATS-friendly; this is the first step to getting a chance for an interview. 

Tip 2: Prepare all technical fundamental core subjects and solve lots of problems (15-20 questions from each topic). Also, having 2-3 projects on your resume is a must. 

Tip 3: Try to set up mock interviews with seniors or friends before the interview.

Application process
Where: Campus
Eligibility: Final Year Students enrolled in B.E./B.Tech/ME/M.Tech(E&TC & E&C)/CS/IT , 60% throughout Academics, with no breaks/Year down
Resume Tip
Resume tip

Tip 1: Add at least 2-3 projects and try to provide links to where you have deployed them or stored the codebase.
Tip 2: Do not write false information; you will get caught during interviews.

Interview rounds

01
Round
Medium
Online Coding Test
Duration90 minutes
Interview date23 Aug 2021
Coding problem2

1. Find All Anagrams in a String

Easy
15m average time
85% success
0/40
Asked in companies
American ExpressThought WorksWalmart

You have been given a string STR and a non-empty string PTR. Your task is to find all the starting indices of PTR’s anagram in STR.

An anagram of a string is another string which contains the same characters and is obtained by rearranging the characters.

For example: ‘SILENT’ and ‘LISTEN’ are anagrams of each other. ‘ABA’ and ‘ABB’ are not anagram because we can’t convert ‘ABA’ to ‘ABB’ by rearranging the characters of particular strings.

Note:

1. Both STR and PTR consist of English uppercase letters.
2. Length of string 'STR' will always be greater than or equal to the length of string ‘PTR’.
3. In case, there is no anagram substring, then return an empty sequence.
4. In case of more than one anagrams, return the indices in increasing order.
Problem approach

Tip 1: Sort the first string
Tip 2: Also, sort all words of second string
Tip 3: Now match first string with all words of second string.

Try solving now

2. Intersection of Linked Lists

Easy
20m average time
70% success
0/40
Asked in companies
IntuitAmazonWalmart

You are given two linked lists L1 and L2 which are sorted in ascending order. You have to make a linked list with the elements which are present in both the linked lists and are present in ascending order.

Example:-
L1 = 1->2->3->4->7
L2 = 2->4->6->7

ANSWER:- The answer should be 2->4->7 because 2,4, and 7 are present in both the linked lists.
Try solving now
02
Round
Medium
Video Call
Duration60 minutes
Interview date24 Aug 2021
Coding problem3

This round was of 60 minute and there were one interviewer, he asked me to share my screen and open video.

1. Find The Repeating And Missing Number

Easy
10m average time
90% success
0/40
Asked in companies
AmazonSamsungPhonePe

You are given an array 'nums' consisting of first N positive integers. But from the N integers, one of the integers occurs twice in the array, and one of the integers is missing. You need to determine the repeating and the missing integer.

Example:
Let the array be [1, 2, 3, 4, 4, 5]. In the given array ‘4’ occurs twice and the number ‘6’ is missing.
Problem approach

1. I used map to solve this question.
2. In map, store frequency of each element.
3. If frequency of any element is more than two, that will be our duplicate number.

Try solving now

2. Cycle Detection in a Singly Linked List

Moderate
15m average time
80% success
0/80
Asked in companies
Morgan StanleyDunzoOYO

You are given a Singly Linked List of integers. Return true if it has a cycle, else return false.


A cycle occurs when a node's next points back to a previous node in the list.


Example:
In the given linked list, there is a cycle, hence we return true.

Sample Example 1

Problem approach

I solved this problem using "tortoise and the hare algorithm"
1. Traverse linked list using two pointers.
2. Move one pointer(slow_p) by one and another pointer(fast_p) by two.
3. If these pointers meet at the same node, then there is a loop. If pointers do not meet, then linked list doesn’t have a loop.

Try solving now

3. DBMS Questions

What is a foreign key in DBMS? (Learn)
What is the Deadlock condition in DBMS? (Learn)
What is ACID Property in DBMS? (Learn)

Problem approach

Answer 1: Foreign key is a field in a database table that is used to establish a link between two tables.
Answer 2: Deadlock conditions in a DBMS occur when multiple transactions are waiting for each other to release resources (e.g., locks) they hold. This arises from four necessary conditions: mutual exclusion, hold and wait, no preemption, and circular wait. When all four conditions are met, a deadlock occurs, resulting in a standstill, and DBMS employ strategies to detect and resolve them.
Answer 3: ACID Means 1. Atomicity 2. Consistency 3. Isolation 4. Durability

Tips: Prepare CS Core Subjects very deep.

03
Round
Easy
HR Round
Duration30 minutes
Interview date25 Aug 2021
Coding problem1

This Round was the last round scheduled on zoom with HR .

1. Basic HR Questions

1. First, she asked me to tell me about yourself. 
2. She asked me some questions on core value of Publics Sapient.
3. Why do you want to work for our company?

Problem approach

1. I introduced myself very confidently.
2. Before HR round I had learn core values of publics sapient from their official website and I answered each question from this topic.
3. I answered why I want to work with them, I told their culture, projects, tech stack, flexibility of working attracts me.

Tip 1: Be very Confident in HR Round
Tip 2: Must have read about core values before HR round of Publics Sapient

Here's your problem of the day

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

Skill covered: Programming

How do you remove whitespace from the start of a string?

Choose another skill to practice
Similar interview experiences
company logo
SDE - 1
3 rounds | 4 problems
Interviewed by CIS - Cyber Infrastructure
785 views
0 comments
0 upvotes
company logo
ATL2
3 rounds | 5 problems
Interviewed by CIS - Cyber Infrastructure
0 views
0 comments
0 upvotes
company logo
Trainee Engineer
2 rounds | 3 problems
Interviewed by CIS - Cyber Infrastructure
669 views
0 comments
0 upvotes
company logo
Trainee Engineer
2 rounds | 3 problems
Interviewed by CIS - Cyber Infrastructure
606 views
0 comments
0 upvotes