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

ASDE-2

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

Interview preparation journey

expand-icon
Preparation
Duration: 2 months
Topics: OOPS, Data structure, Dynamic Programming, OS, Linked List
Tip
Tip

Tip 1 : Cover the basics of dsa
Tip 2 : Solve fundamental questions related to every topic
Tip 3 : Cover basics of os, computer network as well

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

Tip 1 : Make it concise and appropriate
Tip 2 : Try to add useful points only.

Interview rounds

01
Round
Medium
Online Coding Test
Duration90 minutes
Interview date12 Aug 2021
Coding problem3

This was online coding round.
So, in that round there were three questions to solve in 90 minutes and I solved all of them in around 20 minutes.
 

1. Count Distinct Elements In Every Window

Moderate
15m average time
85% success
0/80
Asked in companies
HSBCZSCIS - Cyber Infrastructure

Given an array of integers ‘arr’ of size ‘n’ and an integer ‘k’. You need to find the count of distinct elements in every sub-array of size ‘k’ in the given array. Return an integer array ‘count’ that consists of n - k + 1 integers where ‘count[i]’ is equal to the number of distinct elements in a sub-array of size ‘k’ starting from index ‘i’.

Note:
1. The sub-array of an array is a continuous part of the array.
2. Consider ‘0’ based indexing.
3. ‘k’ will always be less than or equal to ‘n’.
3. Don’t print anything, just return the integer array ‘count’.
Problem approach

Step 1.just use property of set. it is enough

Try solving now

2. Sort Elements By Frequency

Easy
15m average time
85% success
0/40
Asked in companies
HSBCCIS - Cyber InfrastructureOracle

You are given a list of a repeated set of integers. Your task for the problem is to return a list of the given elements in decreasing sorted order of their frequency of repetition in the given list with the element with the highest frequency of repetition first and so on.

Note :
If two numbers have the same frequency then keep the one that was present before the other in the original given list (array) first.
For Example :
Input:  arr[] = {2, 5, 2, 8, 5, 6, 8, 8}
Output: arr[] = {8, 8, 8, 2, 2, 5, 5, 6}

Explanation :
When you sort the array based on the decreasing order of the frequency of repetition of integers in the original array, 
you’ll find that the element ‘8’ is the integer with the most repeated values therefore it would be arranged first after which since both 2 and 5 have the same number of repeated 
values in the original array but since the 2 arrived first so we will first arrange 2 and then 5 in our resultant array, while would be the last element after sorting here.
Problem approach

step 1 : Store frequency of each and every element by using the map
step 2 : Store pair of value {frequency and element} in a vector
step 3 : Sort and then print all those value frequency times

Try solving now

3. Palindrome Partitioning

Moderate
25m average time
75% success
0/80
Asked in companies
CultfitDunzoQuikr

You are given a string 'S'. Your task is to partition 'S' such that every substring of the partition is a palindrome. You need to return all possible palindrome partitioning of 'S'.

Note: A substring is a contiguous segment of a string.

For Example:
For a given string “BaaB”
3 possible palindrome partitioning of the given string are:
{“B”, “a”, “a”, “B”}
{“B”, “aa”, “B”}
{“BaaB”}
Every substring of all the above partitions of “BaaB” is a palindrome.
Problem approach

By using DP approach

Try solving now
02
Round
Medium
Video Call
Duration60 minutes
Interview date1 Sep 2021
Coding problem2

So round 2 was a technical round held at google meet. So, the panel consisted of only one interviewer and they ask many questions related to

1. Reverse Stack Using Recursion

Easy
21m average time
80% success
0/40
Asked in companies
MicrosoftIBMRazorpay

Reverse a given stack of 'N' integers using recursion. You are required to make changes in the input parameter itself.


Note: You are not allowed to use any extra space other than the internal stack space used due to recursion.


Example:
Input: [1,2,3,4,5] 
Output: [5,4,3,2,1]

add image

Try solving now

2. MergeSort Linked List

Moderate
30m average time
60% success
0/80
Asked in companies
Thought WorksSamsung R&D InstituteCIS - Cyber Infrastructure

For a given Singly Linked List of integers, sort the list using the 'Merge Sort' algorithm.

Try solving now
03
Round
Easy
HR Round
Duration30 minutes
Interview date1 Sep 2021
Coding problem1

The interview began with an introduction Interviewer was very friendly and interactive

 

1. Basic HR Questions

- Tell me about Yourself.
- Your Strengths and weaknesses.
- Where do you see yourself in 2 – 3years?
- Discussion on Projects.
- He asked me about my family background.

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
Junior Associate: Marketing Strategy and Analysis
3 rounds | 5 problems
Interviewed by CIS - Cyber Infrastructure
902 views
0 comments
0 upvotes
company logo
Associate Technology
3 rounds | 4 problems
Interviewed by CIS - Cyber Infrastructure
1057 views
0 comments
0 upvotes
company logo
ASDE-2
3 rounds | 4 problems
Interviewed by CIS - Cyber Infrastructure
728 views
0 comments
0 upvotes
company logo
ASDE-2
3 rounds | 5 problems
Interviewed by CIS - Cyber Infrastructure
598 views
0 comments
0 upvotes