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

MTS 1

BYJUS
upvote
share-icon
2 rounds | 4 Coding problems

Interview preparation journey

expand-icon
Journey
Hello all, I am from the 2019 batch at NIT Jalandhar. My coding journey started in the first semester when I have a subject of C++ programming in the syllabus. I started watching C++ tutorials on a YOUTUBE channel. Then after 1st year, I started solving the coding problems and participating in the weekly contest. I highly recommend everyone give at least one contest in a week so that their problem-solving capabilities increase within the given time limit. At last, the company started visiting our campus starting of August and I got a chance of interview.
Application story
If you are from Tier-2, Tier-1 college most of the companies visiting the campus. I applied for it and after giving online test I selected for an interview.
Why selected/rejected for the role?
I was rejected from this role because I am not able to solve one DP problem in an optimized way. I am able to solve that using brute force but the interviewer wanted an optimized way.
Preparation
Duration: 2 Years
Topics: Data Structures, Object Oriented Programming, Data Base Management System, Structured Query Language, Operating System
Tip
Tip

Tip 1: Start with fundamental DSA problems.
Tip 2: Start giving coding contests (this is very Important).
Tip 3: At the end of 3rd year, start studying OOPs, OS, and DBMS.

Application process
Where: Campus
Eligibility: CGPA is above 7.5
Resume Tip
Resume tip

Tip 1: Mention your coding profile in your Resume.
Tip 2: Add 2-3 projects so that you can explain them in your interview.

Interview rounds

01
Round
Easy
Online Coding Interview
Duration60 Minutes
Interview date3 Aug 2022
Coding problem2

Timing: It was on the morning of 3th August 2022.


Environment: Invigilators were present in each room.

1. Sort Array

Moderate
15m average time
85% success
0/80
Asked in companies
SprinklrHSBCHCL Technologies

You are given an array consisting of 'N' positive integers where each integer is either 0 or 1 or 2. Your task is to sort the given array in non-decreasing order.

Note :
1. The array consists of only 3 distinct integers 0, 1, 2.
2. The array is non-empty.
Try solving now

2. Decode String

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

You have been given an encoded string. Your task is to decode it back to the original string.

- An encoded string will be of the form <count>[encoded_string], where the 'encoded_string' inside the square brackets is being repeated exactly 'count' times. Note that 'count' is guaranteed to be a positive integer and can be greater than 9.
- There are no extra white spaces and square brackets are well-formed.
For example -
Input: 2[a]
“a” is encoded 2 times, hence the decoded string will be "aa".

Input: 3[a2[b]]
“b” is encoded 2 times, which decodes as 3[abb]. Now, "abb" is encoded 3 times, hence decoded string will be "abbabbabb". 
Try solving now
02
Round
Easy
Face to Face
Duration40 minutes
Interview date5 Aug 2023
Coding problem2

Timing: It was on the evening of 5th August 2022.


Environment: Invigilators were present in each room.

1. Unique Paths

Moderate
25m average time
80% success
0/80
Asked in companies
BNY MellonCoinDCXAmazon

You are present at point ‘A’ which is the top-left cell of an M X N matrix, your destination is point ‘B’, which is the bottom-right cell of the same matrix. Your task is to find the total number of unique paths from point ‘A’ to point ‘B’.In other words, you will be given the dimensions of the matrix as integers ‘M’ and ‘N’, your task is to find the total number of unique paths from the cell MATRIX[0][0] to MATRIX['M' - 1]['N' - 1].

To traverse in the matrix, you can either move Right or Down at each step. For example in a given point MATRIX[i] [j], you can move to either MATRIX[i + 1][j] or MATRIX[i][j + 1].

Try solving now

2. Scramble String

Hard
15m average time
85% success
0/120
Asked in companies
PostmanAmazonInfo Edge India (Naukri.com)

You are given an integer ‘N’ and two strings ‘S’ and 'R' each having size = ‘N’. You can scramble the string ‘S’ to obtain string 'R' using the following operations:

1. If the length of the string is greater than 1:

  • Select any random index and split the string into two non-empty substrings. For e.g: if the string is ‘S’, then divide it into two non-empty substrings ‘A’ and ‘B’ such that ‘S’ = ‘A’ + ‘B’.
  • You can choose to swap the two substrings or keep them in the same order, i.e., after this operation string ‘S’ may become either ‘S’ = ‘A’ + ‘B’ or ‘S’ = ‘B’ + ‘A’.
  • Apply the first step recursively on each of the two strings ‘A’ and ‘B’.
  • 2. If the length of the string is equal to 1 then stop.

    Your task is to return true if 'R' is a scrambled string of ‘S’ else return false.

    Note:

    1. Both the strings are non-empty and are of the same length.
    
    2. You can apply the above operations any number of times on ‘S’.
    
    3. The operations can only be applied on the string ‘S’.
    
    4. ‘S’ and 'R' consist of lowercase letters only.
    
    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
    MTS 1
    3 rounds | 8 problems
    Interviewed by BYJUS
    577 views
    0 comments
    0 upvotes
    company logo
    MTS 1
    3 rounds | 7 problems
    Interviewed by BYJUS
    625 views
    0 comments
    0 upvotes
    company logo
    SDE - 1
    3 rounds | 6 problems
    Interviewed by BYJUS
    545 views
    0 comments
    0 upvotes
    company logo
    SDE - Intern
    3 rounds | 6 problems
    Interviewed by BYJUS
    585 views
    0 comments
    0 upvotes
    Companies with similar interview experiences
    company logo
    MTS 1
    6 rounds | 10 problems
    Interviewed by Adobe
    4010 views
    1 comments
    0 upvotes
    company logo
    MTS 1
    4 rounds | 14 problems
    Interviewed by Oracle
    4065 views
    0 comments
    0 upvotes
    company logo
    MTS 1
    2 rounds | 5 problems
    Interviewed by Adobe
    1517 views
    1 comments
    0 upvotes