Programming with Passion

Make the best out of everything.

Showing posts with label Interview Question. Show all posts
Showing posts with label Interview Question. Show all posts

Thursday, 7 November 2019

Juspay Interview Experience

Juspay Interview Experience 2020

About Juspay


Juspay Technologies Pvt Ltd. provides mobile payment solutions. Founded in 2012 by Vimal Kumar and Ramanathan, with a vision to redefine online payments experience by providing 1-click payments on web and mobile, Bangalore-based Juspay Technologies has come a step further with their latest offering, Juspay Safe. Juspay Safe is a specially designed browser for online banking and payments applications and Express Checkout – Payment Gateway Booster. Juspay Safe’s focus is on improving security and user experience for banking. Juspay is not a Payment Gateway (like Citrus, CCAvenue, PayU) but it works with any gateway or aggregator with zero interference in the Merchant-PG relations.
JUSPAY processes payments for most TOP merchants like BookMyShow, Amazon, MakeMyTrip, Snapdeal, Freecharge, Mobikwik, Swiggy, Yatra etc. The company processes more than 4 million transactions per month.
Role - Quality Assurance Engineer
Salaray Offered - 5 LPA

Recruitment Process

It was an off campus drive so crowd was huge can't exactly tell the numbers. There were 5 rounds as follows
1. Online Test - It was a 1:30 hr long test which consisted of aptitude, psychometric test, XML Soap, testing mcqs and one coding question.
Around 25-30 students passed the test.

2. Testing - We were given an mobile application and were supposed to test the app for potential bugs and make a bug report. The app was basically a payment gateway app which consisted of different payment methods and we were supposed to test all those methods. After this round 16 students were shortlisted.

3. Lean-a-thon - This round was basically conducted to check the learning capability of the candidate, So we were given a code in pure script (that is what they use also) along with few study material and we were supposed to add new features to the code by backtracking the code which sounds easy but really is difficult if you don't have any familiarity with the language. I almost gave up in this round but found my way back in. The code was basically of a cube rotation which had features to move the cube in x, y, and z direction our task was to add new buttons which changes the direction, let's say if the cube is rotating clockwise after clicking the button it should move anti-clockwise. Also we were supposed add buttons to change velocity of the cube. 
Four students passed this round.

4. Technical Interview - Questions were asked from DBMS and Data Structure, like code to find loop in linked list, height of tree, find the second highest salary from employee table, normalization forms etc. Interview was about 30-40 min long.

5. HR Interview - This interview lasted exactly 40 mins. It was a telephonic interview. He basically asked me story and asked me why I wanted to work as a Quality Assurance Engineer, Then he asked me a puzzle, the puzzle was we have 25 horses and we have to find the 3 fastest horses. What is the minimum number of steps to find the 3 fastest horses.
When he asked me if I have any questions I asked him a few followed by when will I get the feedback (Always ask question if Interviewer asks you if you have any).
He then asked when can I join and congratulated me for getting selected =D

If you have any questions comment below.

Thursday, 5 September 2019

Diamond Patter using only one while loop | Yamaha Interview Question

Diamond Patter using only one while loop

This problem was asked in Yamaha Interview. Please consider doing it yourself before looking at the answer.

#include<stdio.h>
int main(){
    int line = 1, p = 25, sp=2, st=1;
int spptr = 0, stptr = 0;
    while(p--){
        if(spptr < sp){
            printf("  ");
            spptr++;
        }
        else if (stptr < st){
            printf("* ");
            stptr++;
        }
        else{
            printf("\n");
            line++;
            sp = 3 - line;
            if (sp<0)
                sp = -sp;
            st = (line*2)-1;
            if(line>3){
                st = st%4;
            } 
            spptr = 0;
            stptr = 0;
        }
    }
}

Here is I have taken a variable p = 25 which
is indicating the grid size in which the
diamond is printed, a line number initially 1,
sp(spaces to print) initially 2,
st(stars to print), spptr(space pointer
currently at 0),stptr(star pointer
currently at 0).So, now inside the while loop
it checks if the spptr is less than sp or not
if it is then it prints spaces,else it checks
if stptr is less than st or not if yes than it
prints the star, else it increments the line
number,then changes the spaces to print
according to the line number, changes the
stars to print according to line number,
and re-initialises the spptr & stptrto 0.