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

Software Development

ZIGRAM
upvote
share-icon
2 rounds | 5 Coding problems

Interview preparation journey

expand-icon
Preparation
Duration: 2 month
Topics: OOPS , Data Structures, Dynamic Programming, Algorithms from variuos coding platforms , Database Management System, Operating System, Web development
Tip
Tip

Tip 1 : Relax and don't stress. Practice
Tip 2 : Build Resume according to Job Description , but don't lie.
Tip 3 : Have good projects and knowledge regarding important subjects related to interviews

Application process
Where: Campus
Eligibility: Above 7 cgpa
Resume Tip
Resume tip

Tip 1 : Include only genuine information, never lie in resume , it will impact to bad impression. 
Tip 2 : Skills relevant to Job Description
Tip 3 : Resume should not be more than 2 pages 
Tip 4 : Have some projects and internship on your resume because it will give good impression

Interview rounds

01
Round
Hard
Online Coding Test
Duration120 minutes
Interview date12 Oct 2020
Coding problem3

This round was very difficult. I never do these much difficulty level of coding questions. But i give my best, and just do every questions by using step by step process.

1. Hourglass Pattern

Moderate
0/80
Asked in company
ZIGRAM

You are given an integer N and you have to print the following pattern.

For N=5:

Alt Text

For N=6:

Alt Text

Try solving now

2. BFS in Graph

Easy
10m average time
90% success
0/40
Asked in companies
Morgan StanleySamsung R&D InstituteRubrik, Inc.

Given an adjacency list representation of a directed graph with ‘n’ vertices and ‘m’ edges. Your task is to return a list consisting of Breadth-First Traversal (BFS) starting from vertex 0.


In this traversal, one can move from vertex 'u' to vertex 'v' only if there is an edge from 'u' to 'v'. The BFS traversal should include all nodes directly or indirectly connected to vertex 0.


Note:
The traversal should proceed from left to right according to the input adjacency list.


Example:
Adjacency list: { {1,2,3},{4}, {5}, {},{},{}}

The interpretation of this adjacency list is as follows:
Vertex 0 has directed edges towards vertices 1, 2, and 3.
Vertex 1 has a directed edge towards vertex 4.
Vertex 2 has a directed edge towards vertex 5.
Vertices 3, 4, and 5 have no outgoing edges.

We can also see this in the diagram below.

BFS traversal: 0 1 2 3 4 5

example

Try solving now

3. Sort a stack

Moderate
0/80
Asked in company
ZIGRAM

Given a stack, sort the elements inside that stack in ascending order using only push and pop operation. You can use one additional stack only.

For eg.

Input Stack :  5 (top)
               4
               3
               2
               1
Output Stack : 1 (top)
               2
               3
               4
               5
Try solving now
02
Round
Easy
Online Coding Test
Duration90 minutes
Interview date11 Jan 2021
Coding problem2

This round is also coding round in this round we have a small video call interaction too, in which hr ask few questions to only those whose coding question is correct.

1. Next smaller Palindrome

Easy
10m average time
85% success
0/40
Asked in companies
Deutsche BankAmazonSprinklr

You are given a number 'N' in the form of a string 'S', which is a palindrome. You need to find the greatest number strictly less than 'N' which is also a palindrome.

Note:
1. A palindrome is a word, number, phrase, or another sequence of characters that reads the same backward as forward, such as madam, racecar, 1234321, etc.
2. The numerical value of the given string S will be greater than 0.
3. A single-digit number is also considered a palindrome.
4. The answer number should not contain any leading zeros, except for the case when the answer is 0.
5. Note that the length of the string is nothing but the number of digits in N.
Try solving now

2. 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.
    
    Try solving now

    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 | 7 problems
    Interviewed by OYO
    4657 views
    0 comments
    0 upvotes
    company logo
    SDE - Intern
    2 rounds | 3 problems
    Interviewed by Amazon
    960 views
    0 comments
    0 upvotes
    company logo
    SDE - 1
    2 rounds | 5 problems
    Interviewed by Meesho
    6450 views
    0 comments
    0 upvotes
    company logo
    SDE - 1
    3 rounds | 9 problems
    Interviewed by Salesforce
    3452 views
    0 comments
    0 upvotes
    Companies with similar interview experiences
    company logo
    Software Development
    3 rounds | 5 problems
    Interviewed by PhonePe
    12564 views
    0 comments
    0 upvotes
    company logo
    Software Development
    3 rounds | 4 problems
    Interviewed by Amdocs
    8206 views
    0 comments
    0 upvotes
    company logo
    Software Development
    3 rounds | 5 problems
    Interviewed by Microsoft
    1573 views
    0 comments
    0 upvotes