Upload Button Icon Add office photos

Google

Compare button icon Compare button icon Compare

Proud winner of ABECA 2024 - AmbitionBox Employee Choice Awards

zig zag pattern zig zag pattern

Filter interviews by

Google Junior Software Engineer Interview Questions and Answers

Updated 7 Dec 2021

Google Junior Software Engineer Interview Experiences

1 interview found

I applied via Company Website and was interviewed in Nov 2021. There was 1 interview round.

Interview Questionnaire 

1 Question

  • Q1. Basic Binary search, Basic String problem and many follow up question

Interview Preparation Tips

Interview preparation tips for other job seekers - Not only write the code, but also think how some condition change will affect your answers to the problem.

Interview questions from similar companies

Interview Questionnaire 

4 Questions

  • Q1. Tell me about yourself
  • Q2. Strength and weekness
  • Q3. Do you have Any questions for me
  • Q4. Why should we hire you

Interview Questionnaire 

1 Question

  • Q1. Rain water tapping problem
  • Ans. 

    Rain water tapping problem involves calculating the amount of water that can be trapped between given bars.

    • Calculate the maximum height of bars on left and right of each bar.

    • Calculate the amount of water that can be trapped between two bars using the minimum of the two maximum heights.

    • Add up the amount of water trapped between all bars to get the total amount of water trapped.

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - DS algo is must, graphs are asked most

I applied via Naukri.com and was interviewed in Jul 2019. There were 3 interview rounds.

Interview Questionnaire 

3 Questions

  • Q1. Basic C questions and 2 c programs to find wrong in code.
  • Q2. Prepare all UART, SPI, CAN, I2C timing digrams their frame format.
  • Ans. 

    Explanation of UART, SPI, CAN, I2C timing diagrams and frame formats.

    • UART: asynchronous serial communication, start and stop bits, baud rate

    • SPI: synchronous serial communication, master-slave architecture, clock polarity and phase

    • CAN: differential serial communication, arbitration, error detection and correction

    • I2C: synchronous serial communication, master-slave architecture, addressing, clock stretching

  • Answered by AI
  • Q3. Matlab knowledge is advantage

Interview Preparation Tips

Interview preparation tips for other job seekers - Be calm and cofident

Skills evaluated in this interview

I applied via Naukri.com

Interview Questionnaire 

1 Question

  • Q1. About previous projects, C programming basics, Autosar related basic questions. Indetailed understanding about the previous projects required whichever area worked un.

Interview Preparation Tips

Interview preparation tips for other job seekers - Interview is not so hard.

I appeared for an interview before May 2021.

Round 1 - Coding Test 

(3 Questions)

Round duration - 90 minutes
Round difficulty - Medium

  • Q1. 

    Longest Increasing Subsequence Problem Statement

    Given 'N' students standing in a row with specific heights, your task is to find the length of the longest strictly increasing subsequence of their heights...

  • Ans. 

    Find the length of the longest strictly increasing subsequence of heights of students in a row.

    • Iterate through the heights array and for each element, find the length of the longest increasing subsequence ending at that element.

    • Use dynamic programming to keep track of the longest increasing subsequence length for each element.

    • Return the maximum length found as the result.

  • Answered by AI
  • Q2. 

    Overlapping Intervals Problem Statement

    You are given the start and end times of 'N' intervals. Write a function to determine if any two intervals overlap.

    Note:

    If an interval ends at time T and anothe...

  • Ans. 

    Given start and end times of intervals, determine if any two intervals overlap.

    • Iterate through intervals and check if any two intervals overlap by comparing their start and end times

    • Sort intervals based on start times for efficient comparison

    • Consider edge cases where intervals end and start at the same time

  • Answered by AI
  • Q3. What SQL queries were asked during your interview?
  • Ans. 

    Various SQL queries related to data manipulation and retrieval were asked during the interview.

    • Basic SELECT queries to retrieve data from a single table

    • JOIN queries to retrieve data from multiple tables based on a common column

    • Aggregate functions like COUNT, SUM, AVG, etc. to perform calculations on data

    • Subqueries to retrieve data based on the result of another query

    • UPDATE queries to modify existing data in a table

    • DELE...

  • Answered by AI
Round 2 - Face to Face 

(2 Questions)

Round duration - 60 Minutes
Round difficulty - Medium

  • Q1. 

    Zig-Zag String Problem Statement

    Given a string STR of size N and an integer M representing the number of rows in the zig-zag pattern, return the string formed by concatenating all rows when the string ST...

  • Ans. 

    Arrange a string in zig-zag pattern with given number of rows and concatenate the rows.

    • Iterate through the string and distribute characters to rows based on zig-zag pattern

    • Concatenate the characters in each row to get the final result

    • Handle edge cases like when number of rows is 1 or equal to the length of the string

  • Answered by AI
  • Q2. 

    Next Permutation Problem Statement

    You are given a permutation of 'N' integers. A sequence of 'N' integers is considered a permutation if it includes all integers from 1 to 'N' exactly once. Your task is ...

  • Ans. 

    The task is to rearrange a given permutation of 'N' integers to form the lexicographically next greater permutation.

    • Iterate from right to left to find the first element that is smaller than the element to its right.

    • Swap this element with the smallest element to its right that is greater than it.

    • Reverse the elements to the right of the swapped element to get the lexicographically next greater permutation.

  • Answered by AI
Round 3 - Face to Face 

(2 Questions)

Round duration - 60 Minutes
Round difficulty - Medium

  • Q1. 

    Remove Consecutive Duplicates Problem Statement

    Given a string S, your task is to recursively remove all consecutive duplicate characters from the string.

    Input:

    String S

    Output:

    Output string

    Constr...

  • Ans. 

    Recursively remove consecutive duplicate characters from a string.

    • Use recursion to check if the current character is the same as the next character, if so skip the next character

    • Base case: if the string is empty or has only one character, return the string

    • Example: Input: 'aaabcc', Output: 'abc'

  • Answered by AI
  • Q2. 

    Print Permutations - String Problem Statement

    Given an input string 'S', you are tasked with finding and returning all possible permutations of the input string.

    Input:

    The first and only line of input ...
  • Ans. 

    Return all possible permutations of a given input string.

    • Use recursion to generate all possible permutations of the input string.

    • Swap characters at different positions to generate permutations.

    • Handle duplicate characters in the input string by using a set to store unique permutations.

  • Answered by AI
Round 4 - Face to Face 

(1 Question)

Round duration - 60 Minutes
Round difficulty - Medium

  • Q1. Design an e-commerce website similar to Flipkart or Amazon.
  • Ans. 

    Design an e-commerce website similar to Flipkart or Amazon.

    • Implement user-friendly interface for easy navigation

    • Include search functionality with filters for products

    • Incorporate secure payment gateway for transactions

    • Provide personalized recommendations based on user behavior

    • Include customer reviews and ratings for products

    • Implement order tracking and delivery status updates

    • Offer various payment options like credit/deb

  • Answered by AI

Interview Preparation Tips

Professional and academic backgroundI completed Computer Science Engineering from National Institute of Technology, Kurukshetra. I applied for the job as SDE - 1 in BangaloreEligibility criteriaAbove 7.5 CGPASAP Labs interview preparation:Topics to prepare for the interview - DSA(Data Structures and Algorithms),Object-Oriented Programming Principles,Operating Systems,Database Management Systems,Web Development,Machine Learning,Projects(Internship/Full-time)Time required to prepare for the interview - 3 monthsInterview preparation tips for other job seekers

Tip 1 : Prepare DSA well. Standard Leetcode-type questions will be asked.
Tip 2 : You should be crystal clear about your project/s as any question would be asked and you should be able to answer it.
Tip 3 : Prepare CS fundaments like OS, OOPs, DBMS, etc.

Application resume tips for other job seekers

Tip 1 : Clearly mention the tech. stack you have worked on in the project/s
Tip 2 : As a fresher, you should add your coding profiles on CodeChef, Codeforces, etc. so as to make the resume shortlisting easy

Final outcome of the interviewSelected

Skills evaluated in this interview

I appeared for an interview before Sep 2020.

Round 1 - Coding Test 

(1 Question)

Round duration - 120 Minutes
Round difficulty - Easy

The round was conducted in day around 3PM.

  • Q1. 

    Partition Equal Subset Sum Problem

    Given an array ARR consisting of 'N' positive integers, determine if it is possible to partition the array into two subsets such that the sum of the elements in both sub...

  • Ans. 

    The problem is to determine if it is possible to partition an array into two subsets with equal sum.

    • Use dynamic programming to solve this problem efficiently.

    • Create a 2D array to store the results of subproblems.

    • Check if the sum of the array is even before attempting to partition it.

    • Iterate through the array and update the 2D array based on the sum of subsets.

    • Return true if a subset with half the sum is found, false ot

  • Answered by AI
Round 2 - Video Call 

(2 Questions)

Round duration - 30 Minutes
Round difficulty - Easy

The interview was preponed and was conducted at 9AM.
The interviewer was friendly and I had saw him earlier at pre-placement talk.

  • Q1. 

    Convert Sentence to Pascal Case

    Given a string STR, your task is to remove spaces from STR and convert it to Pascal case format. The function should return the modified STR.

    In Pascal case, words are con...

  • Ans. 

    Convert a given string to Pascal case format by removing spaces and capitalizing the first letter of each word.

    • Iterate through each character in the string

    • If the character is a space, skip it

    • If the character is not a space and the previous character is a space or it is the first character, capitalize it

  • Answered by AI
  • Q2. Write an SQL query to retrieve the Nth highest salary from a database.
  • Ans. 

    SQL query to retrieve the Nth highest salary from a database

    • Use the ORDER BY clause to sort salaries in descending order

    • Use the LIMIT clause to retrieve the Nth highest salary

    • Consider handling cases where there might be ties for the Nth highest salary

  • Answered by AI
Round 3 - Video Call 

(1 Question)

Round duration - 30 Minutes
Round difficulty - Easy

This round was conducted 15mins after 1st round.

  • Q1. 

    Remove the Kth Node from the End of a Linked List

    You are given a singly Linked List with 'N' nodes containing integer data and an integer 'K'. Your task is to delete the Kth node from the end of this Lin...

  • Ans. 

    Remove the Kth node from the end of a singly linked list.

    • Traverse the list to find the length 'N'.

    • Calculate the position of the node to be removed from the beginning as 'N - K + 1'.

    • Remove the node at the calculated position.

    • Handle edge cases like removing the head or tail of the list.

    • Update the pointers accordingly after removal.

  • Answered by AI

Interview Preparation Tips

Professional and academic backgroundI completed Information Technology from National Institute of Technology, Raipur. I applied for the job as SDE - 1 in BangaloreEligibility criteria7 CGPAOracle interview preparation:Topics to prepare for the interview - Computer Networks, SQL, DBMS, Data Structures, Algorithms, OS, OOPSTime required to prepare for the interview - 6 monthsInterview preparation tips for other job seekers

Tip 1 : Do Competitive Coding
Tip 2 : Learn at least 1 framework
Tip 3 : Build interest in computers

Application resume tips for other job seekers

Tip 1 : Be well informed of everything you mention in your resume
Tip 2 : Mention competitive coding achivements in your resume(if any)

Final outcome of the interviewRejected

Skills evaluated in this interview

I applied via Approached by Company and was interviewed before Aug 2021. There was 1 interview round.

Round 1 - Technical 

(1 Question)

  • Q1. What is difference between abstract class and interface?
  • Ans. 

    Abstract class can have implementation while interface cannot. Classes can implement multiple interfaces but only one abstract class.

    • Abstract class can have constructors while interface cannot.

    • Abstract class can have non-abstract methods while interface cannot.

    • Interfaces are used for full abstraction while abstract classes are used for partial abstraction.

    • Example: Abstract class - Animal with method eat() and subclass ...

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - Learn about java and object oriented programming programming.

Skills evaluated in this interview

I applied via Naukri.com and was interviewed in Jan 2021. There were 3 interview rounds.

Interview Questionnaire 

1 Question

  • Q1. Javascript fundamentals and output questions Angular - routing, component, directive etc Sass

Interview Preparation Tips

Interview preparation tips for other job seekers - Positive experience

I applied via Recruitment Consultant and was interviewed in Oct 2020. There were 4 interview rounds.

Interview Questionnaire 

3 Questions

  • Q1. Program for reverse of string in minimum iteration
  • Ans. 

    Program to reverse a string in minimum iteration

    • Use two pointers, one at the start and one at the end of the string

    • Swap the characters at the two pointers and move the pointers towards each other

    • Repeat until the pointers meet in the middle of the string

  • Answered by AI
  • Q2. Project architecture and structure and role you were doing
  • Q3. Core java concepts

Interview Preparation Tips

Interview preparation tips for other job seekers - Be ready with examples of what knowledge you have?

Tell us how to improve this page.

Google Junior Software Engineer Salary
based on 24 salaries
₹8.7 L/yr - ₹29.2 L/yr
320% more than the average Junior Software Engineer Salary in India
View more details

Google Junior Software Engineer Reviews and Ratings

based on 1 review

3.0/5

Rating in categories

1.0

Skill development

2.0

Work-life balance

2.0

Salary

3.0

Job security

1.0

Company culture

1.0

Promotions

3.0

Work satisfaction

Explore 1 Review and Rating
Software Engineer
1.8k salaries
unlock blur

₹19 L/yr - ₹80 L/yr

Software Developer
1.5k salaries
unlock blur

₹27.2 L/yr - ₹60 L/yr

Senior Software Engineer
860 salaries
unlock blur

₹20 L/yr - ₹80 L/yr

Data Scientist
300 salaries
unlock blur

₹26 L/yr - ₹55 L/yr

Data Analyst
261 salaries
unlock blur

₹7.2 L/yr - ₹22.8 L/yr

Explore more salaries
Compare Google with

Yahoo

4.6
Compare

Amazon

4.0
Compare

Facebook

4.3
Compare

Microsoft Corporation

4.0
Compare
Did you find this page helpful?
Yes No
write
Share an Interview