Josh Technology Group interview experience Real time questions & tips from candidates to crack your interview

SDE - 1

Josh Technology Group
upvote
share-icon
3 rounds | 10 Coding problems

Interview preparation journey

expand-icon
Journey
In my second year, I did the course of competitive programming from Coding Ninjas which helped me to deep dive into DSA and then I start practicing problem on Codeforces, Codechef and leetcode.
Application story
This was an on-campus opportunity for batch 2023 passing graduates for SD (Software Developer role) and FE ( Frontend Engineer role). This was my experience in the SD role. First, it consists of three rounds for appearing in the interview. It consists of MCQ, Subjective, and Coding rounds. The first three rounds are on the same day. Writing comments adds some idea of your approach in subjective, and coding rounds increases your probability of qualifying the rounds. Each round was an elimination round.
Why selected/rejected for the role?
I do not know why I was rejected because I passed all the test cases which were present on their platform.
Preparation
Duration: 4 months
Topics: Tree, Linked List, Graph, Dynamic Programming, Arrays
Tip
Tip

Tip 1 : Make at least two projects
Tip 2 : Practice as many DSA questions as possible.
Tip 3 : Also learn the core CS fundamentals

Application process
Where: Campus
Eligibility: 60% throughout
Resume Tip
Resume tip

Tip 1 : Add good projects to your resume
Tip 2 : You should know what you put in the resume

Interview rounds

01
Round
Easy
Online Coding Interview
Duration50 minutes
Interview date14 Sep 2022
Coding problem4

Online Selection Test: The comprised of three phases and all of them were on the same day.

1. OS MCQs

Which one of the following is not true?
a) kernel remains in the memory during the entire computer session
b) kernel is made of various modules which can not be loaded in running operating system
c) kernel is the first part of the operating system to load into memory during booting
d) kernel is the program that constitutes the central core of the operating system

2. OS MCQs

The portion of the process scheduler in an operating system that dispatches processes is concerned with ____________
a) assigning ready processes to waiting queue
b) assigning running processes to blocked queue
c) assigning ready processes to CPU
d) all of the mentioned

3. Java MCQs

What does the following piece of code do?

public void func(Tree root)
{
    func(root.left());
    func(root.right());
    System.out.println(root.data());
}
a) Preorder traversal
b) Inorder traversal
c) Postorder traversal
d) Level order traversal

4. DSA MCQs

The height of a BST is given as h. Consider the height of the tree as the no. of edges in the longest path from root to the leaf. The maximum no. of nodes possible in the tree is?

a) 2h-1 -1
b) 2h+1 -1
c) 2h +1
d) 2h-1 +1

02
Round
Medium
Online Coding Test
Duration75 minutes
Interview date14 Sep 2022
Coding problem3

This round had 3 coding questions and one output-based question, they mainly focus on trees so if you want to crack Josh, do practice a lot of questions based on tree

1. Coding Problem

Form Minimum Number from Given Sequence (Learn)

Problem approach

Step 1 : Use stack and make increasing and decreasing order

2. Multiply Linked Lists

Easy
15m average time
85% success
0/40
Asked in companies
AmazonSamsungJosh Technology Group

Given two numbers represented by linked lists. Your task is to find the multiplied list and return the head of the multiplied list.

The multiplied list is a linked list representation of the multiplication of two numbers.

Problem approach

Tip 1 : Store in an array
Tip 2 : Then do Multiplication of both arrays

Try solving now

3. Sum At Kth Level

Easy
15m average time
80% success
0/40
Asked in companies
MicrosoftSamsungJosh Technology Group

You are given a ‘root’ of the binary tree, and you have to return the sum of all nodes present at the Kth level from the top. The root node is considered as level 1, and below it is level 2, and so on.

Note:

A binary tree is a tree in which each node has at most 2 children.
Example:
For Example, the root node is given as follows :
‘ROOT’ = 1 2 3 4 -1 -1 5 -1 -1 -1 -1 and ‘K’ = 2, Then the sum of all nodes at K-level will be 5. This is because 2 and 3 are present at level 2 and 2 + 3 = 5. Therefore 5 is the answer.
Try solving now
03
Round
Medium
Online Coding Test
Duration75 minutes
Interview date14 Sep 2022
Coding problem3

This round consists of three coding questions. I remember only two of the questions. The duration of the round was 75 minutes.

1. Find the maximum element in the array after update operations

Moderate
15m average time
85% success
0/80
Asked in companies
Morgan StanleyMicrosoftAmazon

You have been given an array/list ‘A’ consisting of ‘N’ integers all of which are ‘0’ initially. You are given an array/list ‘ARR’ consisting of ‘M’ pairs of integers which are ‘M’ operations you need to perform on ‘A’. In each operation, you are given a range and you need to increase each element whose index lies in that range by ‘1’. Your task is to return the maximum element of array/list ‘A’ after all ‘M’ operations are performed.

Example:
Let’s assume ‘N’ is 5. Initially, all the elements are initialized to zero. we need to perform 2 operations 1 5 and 2 4. In operation 1 5, we will increase all the elements from index 1 to 5 by 1 i.e it becomes [1,1,1,1,1]. 

In operation 2 4, we will increase all the elements from index 2 to 4 by 1 i.e it becomes [1,2,2,2,1]. So answer in this case will be 2 as 2 is the maximum element of the array/list. 
Note:
In the above question array/list is assumed to have ‘1’ - based indexing i.e. array/list starts from index 1.
Problem approach

A tricky method is to replace all elements using one traversal of the array. The idea is to start from the rightmost element, move to the left side one by one, and keep track of the maximum element. Replace every element with the maximum element.

Try solving now

2. Add One to Linked List

Easy
10m average time
90% success
0/40
Asked in companies
UberSamsung R&D InstitutePayPal

Ninja has been given a number that is represented in the form of a linked list such that each digit corresponds to a node. He has been asked to add 1 to it and return the updated list.

For Example:

1234 is represented as (1 -> 2 -> 3 -> 4) and adding 1 to it should change it to (1 -> 2 -> 3 -> 5).

Note:

The input Linked list does not have any trailing zeros.
Problem approach

Reverse given linked list. For example, 1-> 9-> 9 -> 9 is converted to 9-> 9 -> 9 ->1.
Start traversing linked list from leftmost node and add 1 to it. If there is a carry, move to the next node. Keep moving to the next node while there is a carry.
Reverse modified linked list and return head.

Try solving now

3. Add K Nodes

Moderate
37m average time
60% success
0/80
Asked in companies
AdobeGoldman SachsMicron Technology

You are given a Singly Linked List of integers and an integer 'K'.

Your task is to modify the linked list by inserting a new node after every 'K' node in the linked list with the node value being equal to the sum of the previous 'K' nodes.

Note :
If you reach a situation when the number of nodes remaining in the linked list is less than 'K' but greater than zero, just insert a node with the value equal to the sum of the remaining nodes.
Problem approach

1. Find the mid
2. Start traversing from the start and mid

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

How do you remove whitespace from the start of a string?

Choose another skill to practice
Similar interview experiences
company logo
SDE - 1
3 rounds | 6 problems
Interviewed by Josh Technology Group
1521 views
0 comments
0 upvotes
company logo
SDE - 1
3 rounds | 6 problems
Interviewed by Josh Technology Group
1027 views
0 comments
0 upvotes
company logo
SDE - 1
3 rounds | 3 problems
Interviewed by Josh Technology Group
1486 views
0 comments
0 upvotes
company logo
SDE - 1
4 rounds | 7 problems
Interviewed by Josh Technology Group
1160 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
SDE - 1
2 rounds | 3 problems
Interviewed by BNY Mellon
6365 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
2197 views
0 comments
0 upvotes