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

Senior Software Engineer

Apisero
upvote
share-icon
3 rounds | 3 Coding problems

Interview preparation journey

expand-icon
Preparation
Duration: 4 months
Topics: DBMS,Data Structures ,Object Oriented Programming System,JAVA
Tip
Tip

Tip 1 : Must do Previously asked Interview as well as Online Test Questions.

Tip 2 : Go through all the previous interview experiences from Codestudio and Leetcode.

Tip 3 : Do at least 2 good projects and you must know every bit of them.

Application process
Where: Naukri
Eligibility: Experience of 1-3 years(any skill)
Resume Tip
Resume tip

Tip 1 : Mention your coding profile in which you practice.
Tip 2 : Mention your Projects.
Tip 3 : Keep your resume clear and concise and Be honest.

Interview rounds

01
Round
Medium
Face to Face
Duration15 mins
Interview date27 Sep 2021
Coding problem1

They have asked java theoretical questions and output of various java codes.One easy coding question was asked.

1. Nth Fibonacci Number

Easy
0/40
Asked in companies
SAP LabsHCL TechnologiesWalmart

The n-th term of Fibonacci series F(n), where F(n) is a function, is calculated using the following formula -

    F(n) = F(n - 1) + F(n - 2), 
    Where, F(1) = 1, F(2) = 1


Provided 'n' you have to find out the n-th Fibonacci Number. Handle edges cases like when 'n' = 1 or 'n' = 2 by using conditionals like if else and return what's expected.

"Indexing is start from 1"


Example :
Input: 6

Output: 8

Explanation: The number is ‘6’ so we have to find the “6th” Fibonacci number.
So by using the given formula of the Fibonacci series, we get the series:    
[ 1, 1, 2, 3, 5, 8, 13, 21]
So the “6th” element is “8” hence we get the output.
Problem approach

I solved using dynamic programming approach.Time and space complexity: O(n).

Try solving now
02
Round
Easy
Face to Face
Duration15 mins
Interview date29 Sep 2021
Coding problem1

In this round, we did basic discussion regarding my current company's project on which i am working and my contribution.Besides this,i was asked output of some java codes.

1. Java output questions

public class MyFirst {  
     public static void main(String[] args) {  
        MyFirst obj = new MyFirst(n);  
}  
static int a = 10;  
static int n;  
int b = 5;  
int c;  
public MyFirst(int m) {  
      System.out.println(a + ", " + b + ", " + c + ", " + n + ", " + m);  
  }  
// Instance Block  
 {  
    b = 30;  
    n = 20;  
 }   
// Static Block  
 static   
{  
         a = 60;  
    }   
}

Problem approach

In the above code, there are two values of variable a, i.e., 10 and 60. Similarly, there are two values of variable b, i.e., 5 and 30. But in the output, the values of a and b are 60 and 30, respectively. It is because of the execution order of the program.

The execution order of the program is that the static block executes first, then instance block, and then constructor. Hence, the JVM will consider the value of a and b as 60 and 30 concerning the execution order. The value of a = 10 and b = 5 are of no use. And the value of variables c and m is 0 as we have not assigned any value to them.

Hence, the correct answer is 60, 30, 0, 20, 0

03
Round
Easy
Video Call
Duration20 mins
Interview date4 Oct 2021
Coding problem1

This round was executive round.It was final round(with boss).

1. Puzzle

He asked from me one puzzle.3 Ants and Triangle.There are 3 ants sitting on three corners of a triangle. All ants randomly pick a direction and start moving along edge of the triangle. What is the probability that any two ants collide?

Problem approach

Collision doesn’t happen only in following two cases
1) All ants move in counterclockwise direction.
2) All ants move in clockwise direction.
Since every ant has two choices (pick either of two edges going through the corner on which ant is initially sitting), there are total 23 possibilities.

Out of 23 possibilities, only 2 don’t cause collision. So, the probability of collision is 6/8 and the probability of non-collision is 2/8.
 

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
Senior Software Engineer
3 rounds | 2 problems
Interviewed by Apisero
986 views
0 comments
0 upvotes
Software Developer
2 rounds | 7 problems
Interviewed by Apisero
1149 views
0 comments
0 upvotes
Software Engineer
4 rounds | 5 problems
Interviewed by Apisero
826 views
0 comments
0 upvotes
Software Engineer
2 rounds | 4 problems
Interviewed by Apisero
968 views
0 comments
0 upvotes
Companies with similar interview experiences
company logo
Senior Software Engineer
1 rounds | 6 problems
Interviewed by Arcesium
3734 views
0 comments
0 upvotes
company logo
Senior Software Engineer
3 rounds | 3 problems
Interviewed by Ernst & Young (EY)
4984 views
0 comments
0 upvotes
company logo
Senior Software Engineer
3 rounds | 3 problems
Interviewed by HCL Technologies
3014 views
3 comments
0 upvotes