Skip to content
Related Articles

Related Articles

Improve Article
Raja Software Labs Interview Experience
  • Difficulty Level : Hard
  • Last Updated : 06 Nov, 2020

Raja Software Labs visited our college for campus hiring. The selection process included aptitude tests, coding tests, and 3 technical interviews.

Aptitude Test: Test duration of 30 min, It consists of 20 MCQ questions. No negative marking test was taken on google forms.

Programming Test: Test duration of 60 min. It consists of 5 coding questions.

  1. Write a function that takes an input parameter as a string and return the alternate words in it with “abc”. Words are separated by dots.

    Note: Avoid using inbuilt functions



    Input: "i.like.this.program.very.much"
    Output: "i.abc.this.abc.very.abc"
  2. Write a function that takes a number as input if the given number is a Fibonacci number, prints the number otherwise, print the sum of all even Fibonacci numbers less than the given number.

    Input: 20
    Output: 10
    Input: 21
    Output: 21
  3. Write a function that takes a string as an input and you have to return the frequency of characters.

  4. Write a function that takes an array of integers as input and prints the second maximum difference between any two elements from an array.

    Input:  arr[] = {14,12,70,95,65,22,30};
    Output:  81
    
    [1st max difference = 95-12=83 
     2nd max difference = 95-14 = 81]
  5. Write a function that takes an array of integers and prints the numbers that have a remainder of 4 when divided by 5.

    Input: [19,10,44,3,11,129]
    Output: [19, 44, 129]
    Input:[13,4]
    Output: [4]

1st Technical Interview: 3 coding question

  1. Write a function that takes an integer as an input and returns the nearest prime number. 

    Input: 7
    Output: 7
    Input: 13
    Output:11
  2. Write a function that takes two inputs, year, and n and returns n leap year after the given year.

    Input: year = 1, n=4
    Output: 4,8,12,16
  3. Write a function that takes a string as an input and returns the first non-repeating character.



2nd Technical Interview: 2 coding question

  1. Write a function that takes a string as input and replace the space with “%?”

    Input: "welcome to geeksforgeeks"
    Output: "welcome%?to%?geeksforgeeks"

    You have to make changes in the given string only.

  2. Function to print a pyramid pattern.

3rd Technical Interview: 2 coding question

  1. Given an expression string exp, write a program to examine whether the pairs and the orders of “{“, “}”, “(“, “)”, “[“, “]” are correct in exp.

    • If the given string is balanced then return the same string.
    • If the given string is unbalanced then balance the string and then return it.
  2. Write a function that takes a string as input and returns the output as an integer (STOI).

Attention reader! Don’t stop learning now. Get hold of all the important DSA concepts with the DSA Self Paced Course at a student-friendly price and become industry ready. To complete your preparation from learning a language to DS Algo and many more, please refer Complete Interview Preparation Course. In case you are prepared, test your skills using TCS, Wipro, Amazon and Microsoft Test Serieses.

My Personal Notes arrow_drop_up
Recommended Articles
Page :