Ciena interview experience Real time questions & tips from candidates to crack your interview

SDE - 1

Ciena
upvote
share-icon
3 rounds | 11 Coding problems

Interview preparation journey

expand-icon
Preparation
Duration: 6 Months
Topics: Data Structures, Algorithms, OOPS, DBMS, OS
Tip
Tip

Tip 1 : Practice DSA questions from GFG or Leetcode
Tip 2 : Try to complete one site's questions instead of hopping on different platforms
Tip 3 : A little competitive programming in 2nd and 3rd year of college will definitely help, caution - only if you have time.

Application process
Where: Campus
Eligibility: above 7 CGPA
Resume Tip
Resume tip

Tip 1 : Go through each keyword of your resume
Tip 2 : Projects should be real or at least should like it it
Tip 3 : Interviewer smells crap from far away, so keep it real.

Interview rounds

01
Round
Medium
Online Coding Interview
Duration60 minutes
Interview date10 Aug 2021
Coding problem2

Online coding round at home

1. Rotting Oranges

Moderate
20m average time
78% success
0/80
Asked in companies
IBMSliceSamsung R&D Institute

You have been given a grid containing some oranges. Each cell of this grid has one of the three integers values:

  • Value 0 - representing an empty cell.
  • Value 1 - representing a fresh orange.
  • Value 2 - representing a rotten orange.
  • Every second, any fresh orange that is adjacent(4-directionally) to a rotten orange becomes rotten.

    Your task is to find out the minimum time after which no cell has a fresh orange. If it's impossible to rot all the fresh oranges then print -1.

    Note:
    1. The grid has 0-based indexing.
    2. A rotten orange can affect the adjacent oranges 4 directionally i.e. Up, Down, Left, Right.
    
    Problem approach

    Tip 1 : Read carefully if it isn't a variation of standard problem
    Tip 2 : Just use BFS and you're good to go

    Try solving now

    2. Apple Pickup

    Hard
    15m average time
    85% success
    0/120
    Asked in companies
    Disney + HotstarFlipkart limitedCiena

    Alice always loves to visit her garden and collect apples. The garden can be represented in the form of ‘N’ * ’N’ grid say ‘MATRIX’, where each cell of the grid can have one of the possible values:

    1 -> The cell contains an apple that Alice can pick up and pass through it.
    
    -1 -> The cell contains a bush and Alice can not visit this cell.
    
    0 -> The cell is empty and Alice can pass through it.
    

    Alice is present at the top left corner of the matrix or we can say at point (0,0).

    Alice has to reach the bottom right corner of the matrix (‘N’-1,’N’-1) and return back to the starting point (0,0).

    1. After picking an apple the cell will become empty.
    
    2. While going towards the bottom right corner, Alice can either move Right or Down at each step.
    
    3. While going towards the top left corner, Alice can either move Left or Up at each step.
    
    4. If there is no path from (0,0) to (‘N’-1, ‘N’-1) then Alice will not pick any apple.
    

    Your task is to help Alice to collect the maximum number of apples during her journey.

    For example:

    If the given matrix is :
    [1, 1, -1, 1]
    [1, 0, 1, 1]
    [1, 1, 0, 1]
    [0, -1, -1, 1]
    
    One of the possible ways to collect maximum apples is :
    
    Path for going towards bottom right corner: 
    (0,0) -> (0,1) -> (1,1) -> (1,2) -> (1,3) -> (2,3) -> (3,3)
    
    Apples collected are equal to 6.
    
    Path for going towards top left corner:
    (3,3) -> (2,3) ->(2,2) -> (2,1) -> (2,0) -> (1,0) -> (0,0)
    
    Apples collected are equal to 3.
    
    So Alice can collect a maximum of 9 apples.
    
    Problem approach

    Tip 1 : Make recurrence relation and write the DP
     

    Try solving now
    02
    Round
    Hard
    Video Call
    Duration90 minutes
    Interview date20 Aug 2021
    Coding problem6

    It was in afternoon. It was a hard round and long round with the interviewer asking questions from all topics.

    1. Nth Fibonacci Number

    Easy
    0/40
    Asked in companies
    SAP LabsHCL TechnologiesWalmart

    The n-th term of Fibonacci series F(n), where F(n) is a function, is calculated using the following formula -

        F(n) = F(n - 1) + F(n - 2), 
        Where, F(1) = 1, F(2) = 1
    


    Provided 'n' you have to find out the n-th Fibonacci Number. Handle edges cases like when 'n' = 1 or 'n' = 2 by using conditionals like if else and return what's expected.

    "Indexing is start from 1"
    


    Example :
    Input: 6
    
    Output: 8
    
    Explanation: The number is ‘6’ so we have to find the “6th” Fibonacci number.
    So by using the given formula of the Fibonacci series, we get the series:    
    [ 1, 1, 2, 3, 5, 8, 13, 21]
    So the “6th” element is “8” hence we get the output.
    
    Problem approach

    I told him all approaches from exponential to linear DP to logarithmic matrix exponentiation. He was impressed.

    Try solving now

    2. Number of Islands

    Easy
    0/40
    Asked in companies
    MicrosoftMeeshoAmazon

    You have been given a non-empty grid consisting of only 0s and 1s. You have to find the number of islands in the given grid.

    An island is a group of 1s (representing land) connected horizontally, vertically or diagonally. You can assume that all four edges of the grid are surrounded by 0s (representing water).

    Problem approach

    I told him directly the DFS approach and coded it. he gave a test case and it ran.

    Try solving now

    3. Data structure based Questions

    He then asked me practical applications of data Structures like Trie, BST, Map, Stack etc line by line

    Problem approach

    I told him applications of all DS. 

    4. System Design Question

    He asked me to Design a Threadpool.

    Problem approach

    Tip 1 : I told him the uses of threadpool
    Tip 2 : I've read Galvin so I knew the various use cases so listed them all and wrote generic functions for each use case and declared relevant variables.
    Tip 3 : He asked some counter questions about the time and space complexity, but didn't ask to improve it.

    5. Operating System based Questions

    He asked me questions from Virtual memory, threads, locks, semaphores etc

    Problem approach

    Tip 1 : Read Galvin or GFG articles
     

    6. OOPS based Question

    He asked questions about polymorphism and asked to code an example

    Problem approach

    Tip 1 : read GFG articles
     

    03
    Round
    Medium
    Video Call
    Duration30 minutes
    Interview date22 Jul 2022
    Coding problem3

    This was Hiring Manager round

    1. Oops Based Question

    He asked me to design a Vector class

    Problem approach

    Tip 1: read GFG article on vectors
     

    2. Puzzle

    He asked me 2 standard puzzles of 25 horses and 2 ropes

    Problem approach

    Tip 1 : read GFG puzzles

    3. Basic HR Question

    He asked me general questions about my future plans and expectations from the company

    Problem approach

    Tip 1 : Keep it real and related to the resume
     

    Here's your problem of the day

    Solving this problem will increase your chance to get selected in this company

    Skill covered: Programming

    What is recursion?

    Choose another skill to practice
    Similar interview experiences
    company logo
    SDE - 1
    3 rounds | 12 problems
    Interviewed by Ciena
    3802 views
    0 comments
    0 upvotes
    company logo
    SDE - 1
    2 rounds | 2 problems
    Interviewed by Ciena
    1835 views
    0 comments
    0 upvotes
    company logo
    SDE - 1
    2 rounds | 3 problems
    Interviewed by Ciena
    0 views
    0 comments
    0 upvotes
    company logo
    SDE - 1
    3 rounds | 3 problems
    Interviewed by Ciena
    0 views
    0 comments
    0 upvotes
    Companies with similar interview experiences
    company logo
    SDE - 1
    2 rounds | 3 problems
    Interviewed by BNY Mellon
    6262 views
    3 comments
    0 upvotes
    company logo
    SDE - 1
    3 rounds | 6 problems
    Interviewed by BNY Mellon
    0 views
    0 comments
    0 upvotes
    company logo
    SDE - 1
    3 rounds | 5 problems
    Interviewed by CIS - Cyber Infrastructure
    2160 views
    0 comments
    0 upvotes