i
Ciena
Filter interviews by
Sort a stack without auxiliary space
Use recursion to pop elements from stack and insert them in sorted order
Compare the top element with the next element and swap if necessary
Repeat until stack is sorted
A thread pool is a group of threads that can be reused to execute multiple tasks concurrently.
Define a task interface that encapsulates the work to be done
Create a queue to hold tasks
Create a fixed number of threads in the pool
Each thread should loop indefinitely, taking tasks from the queue and executing them
Use synchronization primitives to ensure thread safety
Consider using a thread-safe data structure for the task ...
Shared and unique pointer implementation in C++
Shared pointers allow multiple pointers to refer to the same object, automatically deleting the object when the last pointer is destroyed.
Unique pointers allow only one pointer to refer to an object, automatically deleting the object when the pointer is destroyed.
Shared pointers use reference counting to keep track of the number of pointers referring to an object.
Unique po...
Form the largest string using a, b, and c with the condition that 3 (a, b, or c) can't be together.
Start with the most frequent letter and alternate with the other two.
If there are two letters with the same frequency, start with the one that has the least number of adjacent letters.
Example: 'abcabcab' is not valid, but 'abacbac' is valid and larger.
Code to find strings in a dictionary matching a given pattern
Iterate through the dictionary and check if each string matches the pattern
Add the matching strings to an output array
Return the output array
Top trending discussions
I appeared for an interview before May 2016.
I applied via Recruitment Consultant and was interviewed before Apr 2020. There were 4 interview rounds.
C code for printing Fibonacci Series upto n elements
Declare three variables to store the current, previous and next numbers in the series
Initialize the previous and current variables to 0 and 1 respectively
Use a loop to print the next number in the series by adding the previous two numbers
Loop should run n times to print n elements in the series
I appeared for an interview in Mar 2017.
I have the technical skills, experience, and passion to deliver high-quality software solutions.
I have a strong background in programming languages such as Java, Python, and C++.
I have experience working on complex software projects and collaborating with cross-functional teams.
I am passionate about staying up-to-date with the latest technologies and trends in software development.
I am a quick learner and have a strong...
Ericsson is a global leader in telecommunications technology with a strong focus on innovation and career development.
Global leader in telecommunications technology
Strong focus on innovation
Opportunities for career development
I appeared for an interview in Feb 2017.
posted on 3 May 2017
I appeared for an interview before May 2016.
I appeared for an interview in Mar 2017.
To make the red fishes 98%, 50 fishes have to be removed from the aquarium.
Calculate 1% of 200 fishes, which is 2 fishes.
To make the red fishes 98%, subtract 1% (2 fishes) from 99% (198 fishes).
To find the number of fishes to be removed, divide the difference by 1% (2 fishes).
Therefore, 50 fishes have to be removed to make the red fishes 98%.
I appeared for an interview in Mar 2017.
To make the red fishes 98%, 50 fishes have to be removed from the aquarium.
Calculate 1% of 200 fishes to find the number of red fishes.
Subtract the number of red fishes from 200 to find the number of non-red fishes.
Calculate 2% of the total number of fishes to find the desired number of red fishes.
Subtract the desired number of red fishes from the current number of red fishes to find the number of fishes to be removed.
Some of the top questions asked at the Ciena Lead Engineer interview -
based on 4 reviews
Rating in categories
Software Engineer
186
salaries
| ₹8 L/yr - ₹34 L/yr |
Software Engineer2
167
salaries
| ₹14 L/yr - ₹36 L/yr |
Senior Software Engineer
130
salaries
| ₹12 L/yr - ₹32.5 L/yr |
Module Lead
76
salaries
| ₹13 L/yr - ₹38.5 L/yr |
Software Developer
66
salaries
| ₹9 L/yr - ₹28 L/yr |
Jio
Vodafone Idea
Ericsson
Nokia