Cisco Interview Experience 2023
Last Updated :
28 Mar, 2023
Online Assessment :
They shortlisted students based on resumes and allowed to write the test. It was conducted on Oct 2, 2022.
The assessment had MCQs and Coding Questions. Total 42 Questions.
40 MCQs on Aptitutde, Operating Systems, Computer Networks. 2 Coding Questions.
Question 1 :
You are given 'n' piggy banks, indexed from 0 to n-1. Each piggy bank contains some amount of money in it which is represented by an array of 'nums'. You are asked to break all the piggy banks in any order. If you break the ith piggy bank, you will get the amount equivalent to (nums[i-1]*nums[nums[i]*nums[i+1]) dollars. If i-1 or i+1 goes out of the bounds of the array, then treat it as if there is a piggy bank with 1 US Dollar in it. The goal is to return the maximum amount of dollars you can collect by breaking the piggy banks.
Sample Input 0
4
3158
Sample Output 0
167
Explanation 0
Initially, you have [3,1,5,8]. Break the bank at index 1 i.e one with 1 dollar. The amount collected is (3*1*5) i.e 15. The remaining banks are as [3,5,8]. Now break the bank at index 1 with 5 dollars. The amount collected is (3*5*8) i.e 120. So the total amount is now 135. The remaining banks are as [3,8]. Now break the bank at index 0 with 3 dollars, Amount collected is (138) i.e. 24. So the total amount is now 159. The remaining banks are as [8]. Now break the last bank with 8 dollars. The amount collected is (181) i.e 8. The final amount is now 167. Any other order would result in a lower collection.
Sample Input 1
2
1 5
Sample Output 1
10
Explanation 1
Initially, you have [1,5]. Break the bank at index 0 i.e. with 1 dollar, the Amount collected is (1*1*5) i.e 5. The remaining banks are as [5]. Now break the last bank with 5 dollars. Amount collected is (1*5*1) i.e 5. Final amount is now 10. Other orders would result in a lower collection of only 5+1 i.e 6 dollars.
Solution :
Take an input n which represents the number of elements in an ArrayList arr containing the monthly stock prices. Then calculates the sum of the products of three consecutive elements in arr (excluding the first and last element, if there are only two elements, the product is taken once). This calculation is done until there is only one element left in the list, and then the sum of that element is added to the final result.
Question 2 :
Giver an array of N integers where each number a[x] indicates a stack of cubical bricks of height a[x]. Essentially the array represents N stacks of bricks. The goal in to determine the largest n x n matrix (square matrix) embedded in this array of stacks
Input format:
The first line indicates the size of the integer array say N. Each of the next N lines represent the height of the stack at index x where 1 <= x <=N
Output
Value of n where nxn matrix is the largest one embedded in the stacks.
Example :
Input :
3
5
4
3
Output :
3
Solution :
Take an input of n followed by n integers. Find the length of the longest consecutive subsequence of integers that starts at 1 and ends at the maximum element of the given input array by iterating through the array twice, once from left to right and once from right to left, and keeping track of the minimum element seen so far and the count of consecutive elements seen. Finally, print the length of the longest consecutive subsequence.
8/15 Cases Passed.
I got shortlisted mail on Oct 20, 2022. From there on, conversations happened through Webex. There were 3 rounds, 2 technical and 1 HR. All of them happened on the same day.
Technical Interview (Round 1) :
It happened for about 45min. Mam first asked me to introduce myself. Later she asked me questions on OS and CN. We later moved on to coding and she asked me questions on Arrays in Python. I could solve it half and she helped me.
Technical Interview(Round 2) :
It happened for 10-15min. He asked me questions about my projects and some general topics. There weren't must tech questions.
HR (Round 3) :
He asked me if I'd like to relocate and told me about the stipend details,
I was hoping I'd get into it but I couldn't. I received a mail that they had to take only limited students and I didn't make the cut.
Similar Reads
Cisco Interview Experience 2020 Cisco Virtual Interview 2020 Round 1 (1 Hour): One Coding Question ( Snake and Ladder Problem) : A dfs or bfs can be used to solve this. MCQs based on OS, C questions( Not output based) , Basic Networking questions You had to solve partially the coding question and almost all MCQS to be selected for
2 min read
CISCO Interview Experience Process of Selection: 1. Online Assessment round2. Idea Presentation round3. Technical interview round4. Managerial interview round5. ETR Connect. Online Assessment Round: It was a proctored test conducted on Mettl.The duration of the test was one and a half hours. * It consisted of two sections- a
3 min read
CGI Interview Experience 2021 The interview process includes 3 rounds. The technical skills include Java 8, Spring boot, Hibernate, and Microservices. Round 1: This round took 45 minutes Coding question on string reversal without using built-in operations.Technical questions on java8 concepts steam, lambda Expressions, Default m
1 min read
Cisco Ideathon Interview Experience 2023 About Cisco:Ciscoâs purpose is to power an inclusive future for all. Cisco believe in the power of technology and what it makes possible for our communities, businesses, and governments around the world. Cisco Systems, a technology company based in America, which operates internationally, is best kn
5 min read
Cisco Ideathon Interview Experience 2023 During registrations, we have to choose between two pathways: Advance Networking OR Advance Software. I choose Advance Software. After registrations, a webinar was conducted to brief us about the further rounds of the Ideathon. Also, We have to apply for job roles on the Cisco careers site. The role
2 min read
Cisco Interview Experience (On-Campus) 2023 Cisco visited our college to hire students for Internships and full-time roles. Three roles were there and you have to fill your preference while starting the OA. The roles were: Software Engineer, Data Engineer, and Site Reliability Engineer. Based on the scores you'll be assigned the roles for the
2 min read