Tip 1 : Prepare projects well
Tip 2 : Work on networking questions
Tip 1: have networking as keyword in it
Tip 2: don't lie in resume



Step 1: I first approached the problem using a brute force solution, where I generated all possible subsets of the items and checked for the ones that met the weight constraint.
Step 2: I then realized that this approach would not work for large inputs and thus, implemented a dynamic programming solution, specifically the 0-1 knapsack algorithm.
Step 3: I created a 2D array to store the maximum value that can be obtained for a given weight and number of items.
Step 4: I then iterated through the array, comparing the maximum value that can be obtained by including the current item versus not including it.
Step 5: I returned the value stored in the last cell of the 2D array as the maximum value that can be obtained.
Happened in morning via webex



If the given string is: STR = "abcde". You have to print the string "edcba".
Try to solve the problem in O(1) space complexity.
Can you explain stepwise how you solved this problem?
Step 1: I first thought of using a for loop to iterate through the string and swap the first character with the last one, second with the second last and so on.
Step 2: I then realized that this method would only work for even length strings and would not be efficient for large strings.
Step 3: I then thought of using a stack to push all the characters of the string and then pop them one by one to get the reversed string.
Step 4: I also considered using recursion to reverse the string by calling the function with the substring from index 1 to n-1 and then appending the first character of the original string at the end.
It was a managerial round of 30 min
Given a room with n light bulbs and m switches, each switch can control one or multiple light bulbs. The task is to find the minimum number of switches that must be on to ensure that all the light bulbs are on.
Prepare well before the interview. Can't solve it if you have not done practice before
Basic HR round
Why you want to join cisco
Cisco competitor's name
Tip 1: Go to company carrier page to know about the company
Tip 2: Look out for latest news about the company

Here's your problem of the day
Solving this problem will increase your chance to get selected in this company
To make an AI less repetitive in a long paragraph, you should increase: