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

SDE - 2

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

Interview preparation journey

expand-icon
Preparation
Duration: 2.5 months
Topics: Spring, Hibernate, J2EE, Spring-boot, Micro services Object Oriented Programming, RESTful Web Services, Competitive Programming , Data Structures and Algorithms, Design Pattern
Tip
Tip

Tip 1 : Use the internet for programming practise.
Tip 2 : Prepare example for everything concept.

Application process
Where: Linkedin
Eligibility: 7 CGPA
Resume Tip
Resume tip

Tip 1 : Write everything you know, don't write any false things in your resume 
Tip 2 : Write every project you have worked on and have experience

Interview rounds

01
Round
Medium
Online Coding Interview
Duration120 minutes
Interview date8 Sep 2021
Coding problem1

It was in afternoon and evironment was good.

1. Number Pattern

Easy
0/40
Asked in companies
PayPalHexaview TechJosh Technology Group

Pattern for N = 4

The dots represent spaces.



Try solving now
02
Round
Medium
Telephonic
Duration60 minutes
Interview date10 Sep 2021
Coding problem1

It was in afternoon and evirnoment was good 
There are 8-10 members are also there, so bit nervous but I have faith in me.

1. Reverse Linked List

Moderate
15m average time
85% success
0/80
Asked in companies
WalmartHCL TechnologiesInfo Edge India (Naukri.com)

Given a singly linked list of integers. Your task is to return the head of the reversed linked list.

For example:
The given linked list is 1 -> 2 -> 3 -> 4-> NULL. Then the reverse linked list is 4 -> 3 -> 2 -> 1 -> NULL and the head of the reversed linked list will be 4.
Follow Up :
Can you solve this problem in O(N) time and O(1) space complexity?
Try solving now
03
Round
Medium
HR Round
Duration60 minutes
Interview date11 Sep 2021
Coding problem1

It was in evening and interviewer was also nice .

1. Glowing Bulbs

Hard
30m average time
60% success
0/120
Asked in companies
TCSJosh Technology Group

There are an infinite number of electric bulbs. Each bulb is assigned a unique integer starting from 1. There are ‘N’ switches also and each switch is labeled by a unique prime number. If a switch labeled with prime integer ‘p’ is turned ON, then all the bulbs having a number that is multiple of ‘p’ will start glowing. For example, if we turn ON the switch labelled 2, then all the bulbs having numbers 2, 4, 6, 8, 10, ... i.e all bulbs with numbers as multiples of 2 will start glowing.

You are given an array/list ‘LABELS’ consisting of ‘N’ unique prime integers representing the label of the switches and an integer ‘K’. Your task is to find the integer assigned to Kth glowing bulb from the start when all these ‘N’ switches are turned ON.

Note :
1. Some bulbs can glow by multiple switches and some are not glowed by any switch.
2. If any of the switches that can glow a bulb is turned ‘ON’, then the corresponding bulb will glow.
Example :
Consider 3 switches with labels [3, 5,  7] and we need to find the 5th glowing bulb from the start after turning these 3 switches ON.
We can see that bulbs numbered  3, 6, 9, 15, 18 …  will glow if the switch having label 3 is turned ON.
The bulbs numbered 5, 10, 15, 20 … will glow if the switch having label 5 is turned ON.
The bulbs numbered 7, 14, 21, 28 … will glow if the switch having label 7 is turned ON.
It implies that bulbs numbered 3, 5, 6, 7, 9, 10, 14, 15, 18, 20, 21… will glow when these three switches are turned ON.
The 5th glowing bulb from start is assigned integer 9. Thus, we should return 9.
Problem approach

Let the bulbs be X, Y, and Z 
Turn on switch X for 5 to 10 minutes. Turn it off and turn on switch Y. Open the door and touch the light bulb. 
1. the light is on from the bulb, it is Y 

Now we will check other two off bulbs 
2. the bulb which is hot, it is X 
3. the bulb which is cold, it is Z

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 - 2
2 rounds | 2 problems
Interviewed by Josh Technology Group
946 views
0 comments
0 upvotes
company logo
SDE - 2
1 rounds | 2 problems
Interviewed by Josh Technology Group
1130 views
0 comments
0 upvotes
company logo
SDE - 2
3 rounds | 3 problems
Interviewed by Josh Technology Group
1097 views
0 comments
0 upvotes
company logo
SDE - 1
3 rounds | 6 problems
Interviewed by Josh Technology Group
1027 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
SDE - 2
3 rounds | 4 problems
Interviewed by HashedIn
9698 views
0 comments
0 upvotes
company logo
SDE - 2
3 rounds | 4 problems
Interviewed by Arcesium
1827 views
0 comments
0 upvotes
company logo
SDE - 2
3 rounds | 4 problems
Interviewed by HashedIn
1937 views
0 comments
0 upvotes