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

SDE - 1

Zemoso
upvote
share-icon
2 rounds | 3 Coding problems

Interview preparation journey

expand-icon
Preparation
Duration: 2 months
Topics: Data Structures, OOPS, Algorithms, OS, DBMS
Tip
Tip

Tip 1 : Do Standard DSA Questions
Tip 2 : Be confident in telling your approach
Tip 3 : Believe in yourself

Application process
Where: Coding Ninjas
Eligibility: 2022 Graduate
Resume Tip
Resume tip

Tip 1 : Have a one page resume
Tip 2 : Don't write false information on resume

Interview rounds

01
Round
Easy
Online Coding Interview
Duration60 minutes
Interview date25 Feb 2022
Coding problem2

2 coding questions + some mcq related to DBMS, OS

1. Binary Tree To BST

Easy
15m average time
85% success
0/40
Asked in companies
ProtiumHSBCZemoso

You have been given a binary tree consisting of ‘N’ nodes where nodes have distinct integer values. Your task is to convert the given Binary Tree to a Binary Search Tree(BST).

Note: The conversion must be done in such a way that keeps the original structure of the Binary Tree.

A binary search tree (BST) is a binary tree data structure which has the following properties.

• The left subtree of a node contains only nodes with data less than the node’s data.
• The right subtree of a node contains only nodes with data greater than the node’s data.
• Both the left and right subtrees must also be binary search trees. 

For Example:

For the given binary tree :

Input

The BST will be:

Ouput

Note: Each node is associated with a unique integer value.
Problem approach

Standard problem

Try solving now

2. Number Of Pairs With Given Sum

Moderate
39m average time
60% success
0/80
Asked in companies
Tata Consultancy Services (TCS)AmazonSamsung

You have been given an integer array/list(arr) and a number 'Sum'. Find and return the total number of pairs in the array/list which when added, results equal to the 'Sum'.

Note:
Given array/list can contain duplicate elements.

(arr[i],arr[j]) and (arr[j],arr[i]) are considered same.
Problem approach

Solved using 2 pointer approach, used set to store the unique pairs

Try solving now
02
Round
Easy
Face to Face
Duration60 minutes
Interview date2 Mar 2022
Coding problem1

Interview started with my introduction. After that he asked me about my projects. Then he asked me to explain OOPS concepts and implement them. I write the code but it did not work there were some errors. So me moved forward he asked a coding question. Find whether the two strings are anagram or not. I solved it. After that he asked me questions related to DBMS. I have not studied DBMS properly so I could not answer all the questions.

1. Check Permutation

Easy
0/40
Asked in companies
AdobeOracleGeeksforGeeks

For a given two strings, 'str1' and 'str2', check whether they are a permutation of each other or not.

Permutations of each other
Two strings are said to be a permutation of each other when either of the string's characters can be rearranged so that it becomes identical to the other one.

Example: 
str1= "sinrtg" 
str2 = "string"

The character of the first string(str1) can be rearranged to form str2 and hence we can say that the given strings are a permutation of each other.
Problem approach

Solved using frequency array of size 26.

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

Which keyword is used for inheritance?

Choose another skill to practice
Similar interview experiences
company logo
SDE - 1
3 rounds | 7 problems
Interviewed by OYO
4152 views
0 comments
0 upvotes
company logo
SDE - 1
2 rounds | 5 problems
Interviewed by Meesho
6195 views
0 comments
0 upvotes
company logo
SDE - 1
3 rounds | 9 problems
Interviewed by Salesforce
3098 views
0 comments
0 upvotes
company logo
System Engineer
2 rounds | 2 problems
Interviewed by Tata Consultancy Services (TCS)
2659 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
SDE - 1
1 rounds | 2 problems
Interviewed by Tata Consultancy Services (TCS)
0 views
0 comments
0 upvotes
company logo
SDE - 1
3 rounds | 4 problems
Interviewed by Tata Consultancy Services (TCS)
6734 views
0 comments
0 upvotes
company logo
SDE - 1
2 rounds | 3 problems
Interviewed by BNY Mellon
6081 views
3 comments
0 upvotes