Raja Software Labs (RSL) interview experience Real time questions & tips from candidates to crack your interview

Web Developer

Raja Software Labs (RSL)
upvote
share-icon
2 rounds | 6 Coding problems

Interview preparation journey

expand-icon
Journey
I started applying for technical job roles after completing my graduation. Then, a recruiter reached out to me and requested an online assessment at Raja Software Labs for the role of Web Developer. I prepared myself and did my best during the assessment. Although I was not selected for the role, I gained a lot of confidence from facing the assessment and interview. I also learned a great deal about the technical job role and its requirements. I am confident that I will get my dream job soon. I am now looking for more opportunities to enhance my technical skills and knowledge. I am determined to continue learning and growing in my career. I am confident that I will get my dream job soon.
Application story
I started applying for technical job roles after completing my graduation. Then, a recruiter reached out to me and asked me to complete an online assessment at Raja Software Labs for the role of Web Developer. I prepared myself and did my best during the online assessment. Although I was not selected for the role, I gained confidence from facing the online assessment and interview. I also learned a lot about the technical job role and its requirements. I am confident that I will get my dream job soon. I am now seeking more opportunities to enhance my technical skills and knowledge. I am determined to continue learning and growing in my career. I am confident that I will get my dream job soon.
Why selected/rejected for the role?
It was my Programming Test round that led to my rejection. There were some programming questions I wasn’t prepared for, which caused me to be unable to solve them and ultimately fail that section. I was disappointed in myself for not being better prepared and felt as though I had let myself down. I started to doubt my abilities and wondered if I was really cut out for the IT industry. I decided to think things through and figure out how to move forward.
Preparation
Duration: 8 months
Topics: HTML, CSS, Java Script, React, Data Structures, Pointers, OOPS, System Design, Algorithms, Dynamic Programming
Tip
Tip

Tip 1 : Stick with one coding language for DSA.
Tip 2 : SQL / DSA is a must for a better opportunity.
Tip 3 : Consistency is the key.

Application process
Where: Coding Ninjas
Eligibility: Graduation From CS Background
Resume Tip
Resume tip

Tip 1 : Keep it simple.
Tip 2 : Put only those techs that are within your knowledge.

Interview rounds

01
Round
Medium
Coding Test - Pen and paper
Duration30 minutes
Interview date22 Sep 2022
Coding problem3

- The link will be active by 2:55 PM on the same day.
- The test consists of 20 questions (based on programming, logic, and general analytical skills).
- It is in a Google Forms format and time-restricted. You must fill in the answers and submit the form within 30 minutes.
- There are no negative marks for incorrect answers.
- You may make suitable assumptions where necessary.
- You are required to submit the MCQ test within 30 minutes.

1. Puzzle

There is a tank that is filled with fuel up to 1/7 of its capacity. If 22 liters of fuel are poured into the tank, the indicator rises to the 1/5 mark of the tank. What is the total capacity of the tank?

Problem approach

Let the total capacity of the tank be ‘x’ liters. According to the question, => x/7 + 22 = x/5 => x/5 – x/7 = 22 => x = 385 litres(Answer).

2. Stack using queue

Moderate
25m average time
65% success
0/80
Asked in companies
DunzoOptumBig Basket

Implement a Stack Data Structure specifically to store integer data using two Queues.


There should be two data members, both being Queues to store the data internally. You may use the inbuilt Queue.


Implement the following public functions :

1. Constructor:
It initializes the data members(queues) as required.

2. push(data) :
This function should take one argument of type integer. It pushes the element into the stack and returns nothing.

3. pop() :
It pops the element from the top of the stack and, in turn, returns the element being popped or deleted. In case the stack is empty, it returns -1.

4. top :
It returns the element being kept at the top of the stack. In case the stack is empty, it returns -1.

5. size() :
It returns the size of the stack at any given instance of time.

6. isEmpty() :
It returns a boolean value indicating whether the stack is empty or not.
Operations Performed on the Stack:
Query-1(Denoted by an integer 1): Pushes an integer data to the stack. (push function)

Query-2(Denoted by an integer 2): Pops the data kept at the top of the stack and returns it to the caller. (pop function)

Query-3(Denoted by an integer 3): Fetches and returns the data being kept at the top of the stack but doesn't remove it, unlike the pop function. (top function)

Query-4(Denoted by an integer 4): Returns the current size of the stack. (size function)

Query-5(Denoted by an integer 5): Returns a boolean value denoting whether the stack is empty or not. (isEmpty function)
Example
Operations: 
1 5
1 10
2
3
4

Enqueue operation 1 5: We insert 5 at the back of the queue.
  Queue: [5]

Enqueue operation 1 10: We insert 10 at the back of the queue.
  Queue: [5, 10]

Dequeue operation 2: We remove the element from the front of the queue, which is 5, and print it.
  Output: 5
  Queue: [10]

Peek operation 3: We return the element present at the front of the queue, which is 10, without removing it.
  Output: 10
  Queue: [10]

IsEmpty operation 4: We check if the queue is empty.
  Output: False
  Queue: [10]
Try solving now

3. Non-Decreasing Array

Moderate
35m average time
65% success
0/80
Asked in companies
BNY MellonDell TechnologiesCiti Bank

You have been given an integer array/list 'ARR' of size 'N'. Write a solution to check if it could become non-decreasing by modifying at most 1 element.

We define an array as non-decreasing, if ARR[i] <= ARR[i + 1] holds for every i (0-based) such that (0 <= i <= N - 2).

Try solving now
02
Round
Medium
Online Coding Test
Duration60 minutes
Interview date22 Sep 2022
Coding problem3

Test duration: 1 hour. Only for those students who clear the MCQ test.

  • It is a programming test to check logical thinking and programming abilities.
  • It consists of 5 programming questions. You can use any programming language you are comfortable with.
  • You should NOT download the paper. All you have to do is edit and add answers directly in the Google Doc. You are supposed to add answers below each question.
  • It is okay if the syntax is not 100% accurate and it does not compile. The code should be close to compilation. Pseudo-code, algorithms, and flow charts are not allowed.
  • Once you complete the test, close the document file (it is okay if it remains open as well). Access to the document will be revoked after the one-hour duration of the test.
  • You are required to submit the programming test within 1 hour.

Important:

  • Your email address should be hosted on Gmail.
  • You must mention the correct email address on the MCQ test.

1. Reverse the String

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

You are given a string 'STR'. The string contains [a-z] [A-Z] [0-9] [special characters]. You have to find the reverse of the string.

For example:

 If the given string is: STR = "abcde". You have to print the string "edcba".
follow up:
Try to solve the problem in O(1) space complexity. 
Problem approach

public class StringPrograms {

public static void main(String[] args) {
String str = "123";

System.out.println(reverse(str));
}

public static String reverse(String in) {
if (in == null)
throw new IllegalArgumentException("Null is not valid input");

StringBuilder out = new StringBuilder();

char[] chars = in.toCharArray();

for (int i = chars.length - 1; i >= 0; i--)
out.append(chars[i]);

return out.toString();
}

}

Try solving now

2. Ninja And Fibonacci Numbers

Easy
15m average time
85% success
0/40
Asked in companies
Tricon Infotech Pvt LtdFlipkart limitedRaja Software Labs (RSL)

Ninja has been given a number ‘SUM’. Ninja has to print the minimum number of Fibonacci numbers whose sum is equal to ‘SUM’.

As Ninja is busy at work, he assigns this task to you. Can you help Ninja to solve this task?

Note :

1. Ninja can use the same Fibonacci number any number of times.
2. It is also guaranteed that there are always some Fibonacci numbers whose sum is equal to ‘SUM’.  
Problem approach

public class PrintFibonacci {

public static void printFibonacciSequence(int count) {
int a = 0;
int b = 1;
int c = 1;

for (int i = 1; i <= count; i++) {
System.out.print(a + ", ");

a = b;
b = c;
c = a + b;
}
}

public static void main(String[] args) {
printFibonacciSequence(10);
}

}

Try solving now

3. Java Question

How do you create a deadlock scenario programmatically in Java? (Learn)

Problem approach

public class ThreadDeadlock {

public static void main(String[] args) throws InterruptedException {
Object obj1 = new Object();
Object obj2 = new Object();
Object obj3 = new Object();

Thread t1 = new Thread(new SyncThread(obj1, obj2), "t1");
Thread t2 = new Thread(new SyncThread(obj2, obj3), "t2");
Thread t3 = new Thread(new SyncThread(obj3, obj1), "t3");

t1.start();
Thread.sleep(5000);
t2.start();
Thread.sleep(5000);
t3.start(); 
}

}

class SyncThread implements Runnable {

private Object obj1;
private Object obj2;

public SyncThread(Object o1, Object o2) {
this.obj1 = o1;
this.obj2 = o2;
}

@Override
public void run() {
String name = Thread.currentThread().getName();

System.out.println(name + " acquiring lock on " + obj1);
synchronized (obj1) {
System.out.println(name + " acquired lock on " + obj1);
work();
System.out.println(name + " acquiring lock on " + obj2);
synchronized (obj2) {
System.out.println(name + " acquired lock on " + obj2);
work();
}
System.out.println(name + " released lock on " + obj2);
}
System.out.println(name + " released lock on " + obj1);
System.out.println(name + " finished execution.");
}

private void work() {
try {
Thread.sleep(30000);
} catch (InterruptedException e) {
e.printStackTrace();
}
}

}

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
SDE - Intern
5 rounds | 9 problems
Interviewed by Raja Software Labs (RSL)
6974 views
0 comments
0 upvotes
company logo
SDE - 1
3 rounds | 7 problems
Interviewed by OYO
4657 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