Upload Button Icon Add office photos

Hike

Compare button icon Compare button icon Compare
3.9

based on 54 Reviews

Filter interviews by

Hike Software Developer Intern Interview Questions, Process, and Tips

Updated 16 Sep 2021

Top Hike Software Developer Intern Interview Questions and Answers

  • Q1. Minimum Number of Swaps to Sort an Array Find the minimum number of swaps required to sort a given array of distinct elements in ascending order. Input: T (number of tes ...read more
  • Q2. Maximum Size Rectangle Sub-matrix with All 1's Problem Statement You are provided with an N * M sized binary matrix 'MAT' where 'N' denotes the number of rows and 'M' de ...read more
  • Q3. Maximum Difference in Matrix Given an n x n matrix mat[n][n] of integers, find the maximum value of mat[c][d] - mat[a][b] for all possible indices where c > a and d > b ...read more
View all 8 questions

Hike Software Developer Intern Interview Experiences

4 interviews found

I was interviewed in Feb 2021.

Round 1 - Coding Test 

(4 Questions)

Round duration - 90 minutes
Round difficulty - Medium

Timing was 10AM. The platform was quite good.

  • Q1. 

    Maximum Size Rectangle Sub-matrix with All 1's Problem Statement

    You are provided with an N * M sized binary matrix 'MAT' where 'N' denotes the number of rows and 'M' denotes the number of columns. Your t...

  • Ans. Dynamic Programming.
    1. We start from the first row and move downwards.
    2. We create three 1-dimensional arrays HEIGHT[], LEFT[], RIGHT[].
    3. ‘HEIGHT’[i]: stores the number of current continuous 1’s in column i.
    4. LEFT[i] : stores the leftmost index ‘j’ such that all indices say ‘K’, ‘K’ belongs to [j, i], ‘HEIGHT’[k] >= ‘HEIGHT’[i].
    5. RIGHT [i]: stores the rightmost index ‘j’ such that all indices say ‘K’, ‘K’ belongs to [i, j], ‘HE...
  • Answered Anonymously
  • Q2. 

    Binary Tree Maximum Path Sum Problem Statement

    Determine the maximum path sum for any path in a given binary tree with 'N' nodes.

    Note:

    • A 'path' is defined as any sequence of adjacent nodes connected...
  • Ans. Recursive Approach

    The idea here is to use the recursion. For each node, We can calculate the maximum path sum by keeping track of the following paths:

    • Max path sum starting from Left child + Max Path sum starting from Right child + Node’s value.
    • Max path sum starting from Left child + Node’s value
    • Max path sum starting from Right child + Node’s value
    • Node’s value

     

    We then pick the maximum one among them. The root of ev...

  • Answered Anonymously
  • Q3. 

    Minimum Number of Swaps to Sort an Array

    Find the minimum number of swaps required to sort a given array of distinct elements in ascending order.

    Input:

    T (number of test cases)
    For each test case:
    N (siz...
  • Ans. Naive Approach

    While iterating over the array, check the current element, and if not in the correct place, replace that element with the index of the element which should have come in this place.

     

    Below is the algorithm:

    1. Create a copy of the given input array and store it in temp.
    2. Sort the temp array.
    3. Iterate over the input array, and check whether the current element is at the right place or not by comparing it with t...
  • Answered Anonymously
  • Q4. 

    Infix to Postfix Conversion

    Convert a given infix expression, represented as a string EXP, into its equivalent postfix expression.

    Explanation:

    An infix expression is formatted as a op b where the opera...

  • Ans. Stack

    We will scan the expression from left to write and if we encounter an operand we will append it to our answer. If we encounter an operator we will pop all the operators with equal or higher precedence and append them to our answer. And push the current operator. In the end, we will empty the stack.

    Order of precedence = [ ‘^’, ‘*’ and ‘/’, ‘+’ and ‘-’, ‘(’, ‘)’]

    Order of precedence [ link ]

    The algorithm will be-

    1. ANS ...
  • Answered Anonymously

Interview Preparation Tips

Professional and academic backgroundI applied for the job as SDE - Intern in DelhiEligibility criteriaAbove 7 CGPAHike interview preparation:Topics to prepare for the interview - Data Structures, Pointers, OOPS, System Design, Algorithms, Dynamic ProgrammingTime required to prepare for the interview - 2.5 monthsInterview preparation tips for other job seekers

Tip 1 : Do at least 1 project.
Tip 2 : Practice data structure questions.
Tip 3 : Dynamic programming is must.

Application resume tips for other job seekers

Tip 1 : Do not put false things.
Tip 2 : Keep it short and direct.

Final outcome of the interviewRejected

Skills evaluated in this interview

I was interviewed in Feb 2021.

Round 1 - Coding Test 

(4 Questions)

Round duration - 90 minutes
Round difficulty - Medium

Timing was 10AM. The platform was user-friendly.

  • Q1. 

    Maximum Size Rectangle Sub-matrix with All 1's Problem Statement

    You are provided with an N * M sized binary matrix 'MAT' where 'N' denotes the number of rows and 'M' denotes the number of columns. Your t...

  • Ans. Dynamic Programming.
    1. We start from the first row and move downwards.
    2. We create three 1-dimensional arrays HEIGHT[], LEFT[], RIGHT[].
    3. ‘HEIGHT’[i]: stores the number of current continuous 1’s in column i.
    4. LEFT[i] : stores the leftmost index ‘j’ such that all indices say ‘K’, ‘K’ belongs to [j, i], ‘HEIGHT’[k] >= ‘HEIGHT’[i].
    5. RIGHT [i]: stores the rightmost index ‘j’ such that all indices say ‘K’, ‘K’ belongs to [i, j], ‘HE...
  • Answered Anonymously
  • Q2. 

    Binary Tree Maximum Path Sum Problem Statement

    Determine the maximum path sum for any path in a given binary tree with 'N' nodes.

    Note:

    • A 'path' is defined as any sequence of adjacent nodes connected...
  • Ans. Recursive Approach

    The idea here is to use the recursion. For each node, We can calculate the maximum path sum by keeping track of the following paths:

    • Max path sum starting from Left child + Max Path sum starting from Right child + Node’s value.
    • Max path sum starting from Left child + Node’s value
    • Max path sum starting from Right child + Node’s value
    • Node’s value

     

    We then pick the maximum one among them. The root of ev...

  • Answered Anonymously
  • Q3. 

    Minimum Number of Swaps to Sort an Array

    Find the minimum number of swaps required to sort a given array of distinct elements in ascending order.

    Input:

    T (number of test cases)
    For each test case:
    N (siz...
  • Ans. Naive Approach

    While iterating over the array, check the current element, and if not in the correct place, replace that element with the index of the element which should have come in this place.

     

    Below is the algorithm:

    1. Create a copy of the given input array and store it in temp.
    2. Sort the temp array.
    3. Iterate over the input array, and check whether the current element is at the right place or not by comparing it with t...
  • Answered Anonymously
  • Q4. 

    Prefix to Infix Conversion

    Transform a string representing a valid Prefix expression, which may contain operators '+', '-', '*', '/', and uppercase letters, into its corresponding Infix expression.

    Examp...

  • Ans. Stack Based

    The idea is to iterate over the expression from right to left and store the operands in a stack. Here, we are using a stack of strings for storing the operands. Whenever we encounter an operator, pop the top two operands from the stack and convert the expression to its infix form and then push back to the stack.

     

    • Iterate from ‘i’ = |S| - 1 to 0. The idea behind this step is to store the operands.
      1. If the c...
  • Answered Anonymously

Interview Preparation Tips

Professional and academic backgroundI applied for the job as SDE - Intern in New DelhiEligibility criteriaAbove 8 cgpaHike interview preparation:Topics to prepare for the interview - Data stucture , pointer , tree ,Core java ,OopsTime required to prepare for the interview - 15 daysInterview preparation tips for other job seekers

Tip 1 : Atleast 1 project
Tip 2 : Practice data structures
 

Application resume tips for other job seekers

Tip 1 : Keep it short
Tip 2 : Don't put false information

Final outcome of the interviewRejected

Skills evaluated in this interview

Software Developer Intern Interview Questions Asked at Other Companies

Q1. Sum of Maximum and Minimum Elements Problem Statement Given an ar ... read more
asked in CommVault
Q2. Sliding Maximum Problem Statement Given an array of integers ARR ... read more
asked in Amazon
Q3. Fish Eater Problem Statement In a river where water flows from le ... read more
Q4. Find K Closest Elements Given a sorted array 'A' of length 'N', a ... read more
asked in Groww
Q5. Minimum and Maximum Candy Cost Problem Ram is in Ninjaland, visit ... read more

I was interviewed in Feb 2021.

Round 1 - Coding Test 

(4 Questions)

Round duration - 90 minutes
Round difficulty - Medium

Timing was 10AM. The platform was quite good.

  • Q1. 

    Maximum Size Rectangle Sub-Matrix with All 1's

    Given an N x M binary matrix 'MAT', where N is the number of rows and M is the number of columns, determine the maximum area of a submatrix consisting entire...

  • Ans. 

    If the height of bars of the histogram is given then the largest area of the histogram can be found. This way in each row, the largest area of bars of the histogram can be found. To get the largest rectangle full of 1’s, update the next row with the previous row and find the largest area under the histogram, i.e. consider each 1’s as filled squares and 0’s with an empty square and consider each row as the base.

  • Answered Anonymously
  • Q2. 

    Maximum Sum Path in a Binary Tree

    Your task is to determine the maximum possible sum of a simple path between any two nodes (possibly the same) in a given binary tree of 'N' nodes with integer values.

    Ex...

  • Ans. 

    For each node there can be four ways that the max path goes through the node:
    1. Node only
    2. Max path through Left Child + Node
    3. Max path through Right Child + Node
    4. Max path through Left Child + Node + Max path through Right Child

  • Answered Anonymously
  • Q3. 

    Minimum Number of Swaps to Sort an Array

    Find the minimum number of swaps required to sort a given array of distinct elements in ascending order.

    Input:

    T (number of test cases)
    For each test case:
    N (siz...
  • Ans. 

    This can be easily done by visualizing the problem as a graph. We will have n nodes and an edge directed from node i to node j if the element at i’th index must be present at j’th index in the sorted array.

  • Answered Anonymously
  • Q4. 

    Prefix to Infix Conversion

    Transform a string representing a valid Prefix expression, which may contain operators '+', '-', '*', '/', and uppercase letters, into its corresponding Infix expression.

    Examp...

  • Ans. 

    Algorithm for Prefix to Infix:

    Read the Prefix expression in reverse order (from right to left)
    If the symbol is an operand, then push it onto the Stack
    If the symbol is an operator, then pop two operands from the Stack
    Create a string by concatenating the two operands and the operator between them.
    string = (operand1 + operator + operand2)
    And push the resultant string back to Stack
    Repeat the above steps until end of Prefix

  • Answered Anonymously

Interview Preparation Tips

Professional and academic backgroundI completed Computer Science Engineering from Chitkara University. I applied for the job as SDE - Intern in New DelhiEligibility criteriaAbove 8 CGPAHike interview preparation:Topics to prepare for the interview - Data Structure,OOPS, Java, Graphs, PointersTime required to prepare for the interview - 2 monthsInterview preparation tips for other job seekers

Tip 1 : Do at least 1 project.
Tip 2 : Practice data structure questions.
Tip 3 : Dynamic programming is must.

Application resume tips for other job seekers

Tip 1 : Do not put false things.
Tip 2 : Keep it short and direct.

Final outcome of the interviewRejected

Skills evaluated in this interview

I was interviewed in Jan 2021.

Round 1 - Coding Test 

(1 Question)

Round duration - 60 Minutes
Round difficulty - Easy

  • Q1. 

    Maximum Difference in Matrix

    Given an n x n matrix mat[n][n] of integers, find the maximum value of mat[c][d] - mat[a][b] for all possible indices where c > a and d > b.

    Input:

    The first line cont...
  • Ans. Brute Force

    Recursively call the function and find the maximum number of the submatrix and update the answer for every element of the matrix.

     

    Algorithm:-

    1. Run a for loop from 0 to N-1  (Let’s say the iterator be i).
      1. Run a nested for loop from 0 to N-1 (Let’s say the iterator be j).
        1. Recursively find the answer of submatrix with top-left corner (i+1, j+1).
          1. If i+1== N or j+1== N return -infinity.
          2. Update answer as maxim...
  • Answered Anonymously
Round 2 - HR 

Round duration - 20 Minutes
Round difficulty - Easy

Interview Preparation Tips

Professional and academic backgroundI completed Computer Science Engineering from Lokmanya Tilak College of Engineering. Eligibility criteria6.75+ CGPAHike interview preparation:Topics to prepare for the interview - Data Structures, OOPS, DBMS, OOPs, Algorithms, DP, GreedyTime required to prepare for the interview - 2 MonthsInterview preparation tips for other job seekers

Tip 1 : Try solving Love Babbar 450 Prog questions
Tip 2 : Have a good resume
Tip 3 : Do learn some extra technologies eg. ML/AI

Application resume tips for other job seekers

Tip 1 : Do not lie at all
Tip 2 : Have some projects listed

Final outcome of the interviewRejected

Skills evaluated in this interview

Hike interview questions for designations

 Software Developer

 (7)

 Android Developer

 (3)

 Software Development Engineer

 (1)

 Senior Software Engineer

 (1)

 Senior Software Quality Engineer

 (1)

Interview questions from similar companies

Interview experience
5
Excellent
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Not Selected

I applied via campus placement at KIIT University, Bhuvaneshwar and was interviewed in Apr 2024. There were 3 interview rounds.

Round 1 - Coding Test 

Medium level coding questions on hackerrank ,1:30hr, topic- Array , DP , Matrix , Binary Search

Round 2 - Technical 

(1 Question)

  • Q1. Was Asked to Implement Hashmap and Question on OOPS and Dbms , SQL and Indexing
Round 3 - Technical 

(2 Questions)

  • Q1. Brief Introduction
  • Q2. Rotten Oranges and basics of bfs and DFS
Interview experience
4
Good
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Coding Test 

Was on Hackerrank and good dsa questions asked

Round 2 - Technical 

(2 Questions)

  • Q1. Leetcode meduim in strings
  • Q2. Leetcode medium to hard on slinding window
Interview experience
4
Good
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Coding Test 

1. Coin change
2. Valid Parenthesis
3. Bipartite graph question

Round 2 - Technical 

(1 Question)

  • Q1. Resume based. Find duplicate. Valid Parenthesis. Generate Random id Find max no of random id can be generated
  • Ans. 

    The question involves finding duplicates in an array, validating parentheses, generating random IDs, and determining the maximum number of random IDs that can be generated.

    • To find duplicates in an array, you can use a hash set to store unique elements and check for duplicates as you iterate through the array.

    • To validate parentheses, you can use a stack data structure to keep track of opening and closing parentheses.

    • To ...

  • Answered by AI
Round 3 - Technical 

(1 Question)

  • Q1. Core questions. LRU cache. Validate invalid BST
Round 4 - Technical 

(1 Question)

  • Q1. DP problem which I was unable to solve so rejected.

Skills evaluated in this interview

Interview experience
4
Good
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Selected Selected

I applied via LinkedIn and was interviewed in Mar 2024. There were 4 interview rounds.

Round 1 - Coding Test 

The questions were asked from SQL and Python

Round 2 - Group Discussion 

General Topics - Mostly checking the communication

Round 3 - One-on-one 

(1 Question)

  • Q1. Technical stuffs that were in candidate's resume
Round 4 - HR 

(1 Question)

  • Q1. Mostly checking - attitude, reliability

I was interviewed before May 2016.

Interview Preparation Tips

Round: Resume Shortlist
Experience: It was mostly based on pointers. I was lucky they checked my skills and i was shortlisted in list B.

Round: Test
Duration: 11 hours

College Name: IIT BHU
Interview experience
5
Excellent
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Not Selected

I applied via LinkedIn and was interviewed in May 2024. There were 2 interview rounds.

Round 1 - Aptitude Test 

It was normally reasoning question.

Round 2 - Coding Test 

Priniting pattern question.

Tell us how to improve this page.

Senior Product Analyst
25 salaries
unlock blur

₹23 L/yr - ₹33 L/yr

Associate Product Manager
12 salaries
unlock blur

₹10 L/yr - ₹26.8 L/yr

Senior Software Engineer
10 salaries
unlock blur

₹19.8 L/yr - ₹65 L/yr

Software Engineer
10 salaries
unlock blur

₹12 L/yr - ₹25 L/yr

Software Developer
8 salaries
unlock blur

₹11.6 L/yr - ₹37 L/yr

Explore more salaries
Compare Hike with

Ola Cabs

3.4
Compare

Flipkart

4.0
Compare

Paytm

3.3
Compare

Swiggy

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