Filter interviews by
Your task is to implement a Stack data structure using a Singly Linked List.
Create a class named Stack
which supports the following operations, each in O(1)...
Implement a Stack data structure using a Singly Linked List with operations in O(1) time.
Create a class named Stack with getSize, isEmpty, push, pop, and getTop methods.
Use a Singly Linked List to store the elements of the stack.
Ensure each operation runs in constant time complexity.
Handle edge cases like empty stack appropriately.
Example: If input is '5 3 10 5 1 2 4', the output should be '10 1 false'.
Given a 'Snake and Ladder' board with N rows and N columns, where positions are numbered from 1 to (N*N) starting from the bottom left, alternating direction each row, fi...
Find the minimum number of dice throws required to reach the last cell on a 'Snake and Ladder' board.
Start from the bottom left cell and move according to dice outcomes (1-6).
Utilize snakes and ladders to reach the last cell faster.
Keep track of the minimum number of throws required to reach the last cell.
If unreachable, return -1 as output.
Object Oriented Programming concepts include encapsulation, inheritance, polymorphism, and abstraction.
Encapsulation: Bundling data and methods that operate on the data into a single unit (class). Example: Class Car with properties like color and methods like drive().
Inheritance: Creating new classes based on existing classes, inheriting their attributes and methods. Example: Class SUV inheriting from class Car.
Po...
Your task is to determine if two given strings are anagrams of each other. Two strings are considered anagrams if you can rearrange the letters of one string to form the ...
Check if two strings are anagrams of each other by comparing their sorted characters.
Sort the characters of both strings and compare them.
Use a dictionary to count the frequency of characters in each string and compare the dictionaries.
Ensure both strings have the same length before proceeding with comparison.
Example: For input 'spar' and 'rasp', after sorting both strings, they become 'aprs' which are equal, so r...
You are given a list of N
strings called A
. Your task is to determine whether you can form a given target string by combining one or more strings from A
.
The strings from A
ca...
Given a list of strings, determine if a target string can be formed by combining one or more strings from the list.
Iterate through all possible combinations of strings from the list to check if they form the target string.
Use recursion to try different combinations of strings.
Optimize the solution by using memoization to store intermediate results.
Handle edge cases like empty input or target string.
A router is a networking device that forwards data packets between computer networks. It differs from a gateway in terms of functionality and scope.
A router operates at the network layer of the OSI model, making decisions based on IP addresses.
Routers connect multiple networks together and determine the best path for data to travel.
Gateways, on the other hand, translate between different types of networks or proto...
A static member in C++ is a member of a class that is shared among all instances of the class.
Static members are declared using the 'static' keyword.
They are not associated with any specific instance of the class, but rather with the class itself.
They can be accessed using the scope resolution operator '::'.
Static members are commonly used for constants, utility functions, or shared data among all instances of a c...
Friend class and function in OOP allows specific classes or functions to access private and protected members of a class.
Friend class/function can access private and protected members of a class without violating encapsulation.
It allows for selective sharing of data between classes without exposing all members to the outside world.
Friendship is not mutual - a class can declare another class as a friend, but the ot...
A namespace in C++ is a declarative region that provides a scope for the identifiers within it.
Namespaces help in organizing code by grouping related classes, functions, and variables.
They prevent naming conflicts by allowing the same name to be used in different namespaces.
Example: namespace myNamespace { int x; }
Example: using namespace std; // for using standard library functions without prefix
Given two linked lists representing two non-negative integers, where the digits are stored in reverse order (i.e., starting from the least significant digit to t...
Add two numbers represented as linked lists in reverse order and return the sum as a linked list.
Traverse both linked lists simultaneously while keeping track of carry.
Create a new linked list to store the sum digits.
Handle cases where one list is longer than the other or there is a final carry.
Remember to reverse the final linked list before returning the head.
I appeared for an interview in May 2025, where I was asked the following questions.
I applied via Referral and was interviewed in Nov 2024. There were 2 interview rounds.
Data Structures and Algorithms
Networking,tcp ip protocols
Write a program to reverse an string
Easy to medium level questions were asked to write
Object-oriented programming concepts that focus on objects and classes for code organization and reusability.
Encapsulation: bundling data and methods that operate on the data into a single unit (class)
Inheritance: ability of a class to inherit properties and behavior from another class
Polymorphism: ability to present the same interface for different data types
I applied via Company Website and was interviewed in Aug 2024. There were 2 interview rounds.
20 aptitudes questions
Question was from easy to med
I applied via Naukri.com and was interviewed before Nov 2023. There were 4 interview rounds.
Initial round was aptitude and english for screening candiates
Coding was basically two questions one was
variable window sliding
second was kanpsack variations
Add the values of two linked lists and return the sum as a new linked list.
Traverse both linked lists simultaneously and add the corresponding values along with any carry from the previous sum.
Handle cases where one linked list is longer than the other by considering the remaining nodes and any carry.
Create a new linked list to store the sum values and return it as the result.
3 coding question , easy , medium , hard
I applied via Referral and was interviewed in Jul 2023. There were 2 interview rounds.
Dsa os dbms ai ml kafka
I applied via LinkedIn and was interviewed before Dec 2023. There were 3 interview rounds.
I choose Cisco for their innovative technology solutions and strong reputation in the industry.
Cisco is a global leader in networking and communication technology
They offer a wide range of products and services for various industries
Cisco has a strong reputation for reliability and security
Their commitment to innovation and research & development sets them apart from competitors
Top trending discussions
The duration of Cisco Software Developer interview process can vary, but typically it takes about less than 2 weeks to complete.
based on 20 interview experiences
Difficulty level
Duration
based on 47 reviews
Rating in categories
Software Engineer
2.8k
salaries
| ₹17 L/yr - ₹39.4 L/yr |
Technical Consulting Engineer
679
salaries
| ₹9.8 L/yr - ₹27.2 L/yr |
Senior Software Engineer
675
salaries
| ₹24 L/yr - ₹41.6 L/yr |
Network Engineer
399
salaries
| ₹5.7 L/yr - ₹14 L/yr |
Software Developer
348
salaries
| ₹16.1 L/yr - ₹25.8 L/yr |
Microsoft Corporation
Sterlite Technologies
Nokia Networks