Hike interview questions

153 questions from 15 candidate reports · 2014 to 2023

Online test → Technical → Technical·93% entry level

DSA

Showing 27 of 80 reported in this area

Reverse a linked list
asked 2×easyPractice this →
Shuffle a given array using the Fisher-Yates shuffle algorithm
asked 2×easyPractice this →
Find the median of a stream of numbers.
asked oncemediumPractice this →
Find the n/m-th element of a linked list
asked oncemediumPractice this →
Reverse alternate levels of a binary tree.
asked oncemediumPractice this →
Reverse every K nodes in a singly linked list
asked oncemediumPractice this →
Design and implement an LRU (Least Recently Used) cache.
asked oncemediumPractice this →
Convert a Binary Search Tree into a sorted doubly linked list
asked oncemediumPractice this →
Perform level order traversal of a binary tree in spiral form
asked oncemediumPractice this →
Design a stack that supports push, pop, and getMin() in O(1) time.
asked oncemediumPractice this →
Given preorder and postorder traversals of a BST, construct the tree.
asked oncemediumPractice this →
Define a doubly linked list and write a program to reverse it in-place
asked oncemediumPractice this →
Search an element in a sorted array that has been rotated at some pivot.
asked oncemediumPractice this →
Find all nodes at a given distance K from a target node in a binary tree.
asked oncemediumPractice this →
Given a number, find the next higher number formed using the same digits.
asked oncemediumPractice this →
Given two linked lists, determine if they merge and find the merging point.
asked oncemediumPractice this →
Print all the corner nodes of a binary tree clockwise starting from the root
asked oncemediumPractice this →
Implement inorder traversal of a binary tree with and without using recursion.
asked oncemediumPractice this →
Nut and bolt problem: match nuts and bolts efficiently without direct comparisons
asked oncemediumPractice this →
Given a 2D binary matrix, find the largest square sub-matrix consisting of all 1s.
asked oncemediumPractice this →
Merge two sorted linked lists. Follow-up: merge k sorted linked lists efficiently.
asked oncemediumPractice this →
Word Break problem: determine if a string can be segmented into valid dictionary words
asked oncemediumPractice this →
Generate all corner test cases for a spiral (helix) matrix printing program for an N×M matrix
asked oncemediumPractice this →
Given a sorted array that is rotated K times, sort it in O(n) time without using extra space.
asked oncemediumPractice this →
Minimum number of platforms required for a railway or bus station given arrival and departure times
asked oncemediumPractice this →
Given a bitonic array (first increasing then decreasing), search for a given number in O(log n) time.
asked oncemediumPractice this →
Given two arrays, sort the first array according to the relative ordering defined by the second array.
asked oncemediumPractice this →

CS fundamentals

Showing 21 of 62 reported in this area

Compare inheritance in C++ and Java.
asked oncemediumPractice this →
Explain various CPU scheduling algorithms
asked oncemediumPractice this →
Why is a synchronized block needed in Java?
asked oncemediumPractice this →
Explain how HashMap works internally in Java.
asked oncemediumPractice this →
Explain concepts related to multithreading in Java.
asked oncemediumPractice this →
How does image caching work in Android applications?
asked oncemediumPractice this →
Explain the CAP theorem and where Cassandra fits in it
asked oncemediumPractice this →
Implement Java 8 Future and a related concurrency class
asked oncemediumPractice this →
Explain ConcurrentHashMap and how it differs from HashMap.
asked oncemediumPractice this →
Explain different caching mechanisms available in Android.
asked oncemediumPractice this →
Explain processes, semaphores, and basic networking concepts.
asked oncemediumPractice this →
Explain memory allocation for a 2D array using pointers in C++.
asked oncemediumPractice this →
Discuss hashing techniques and operating system related algorithms.
asked oncemediumPractice this →
Explain basics of distributed storage, parallel processing, and Hadoop
asked oncemediumPractice this →
Explain SoftReference and WeakReference in Android and their use cases.
asked oncemediumPractice this →
Write SQL queries for the given database tables provided by the interviewer.
asked oncemediumPractice this →
What problems arise in multithreaded applications and how can they be solved?
asked oncemediumPractice this →
Compare hashing and B-trees, and explain which is better under different use cases
asked oncemediumPractice this →
Deep discussion on NoSQL databases with focus on Couchbase internals like vBuckets
asked oncemediumPractice this →
Explain how HashMap is implemented in Java, including collision handling and resizing.
asked oncemediumPractice this →
What problems occur when multiple threads update a stack concurrently and how can they be handled?
asked oncemediumPractice this →

System design

Showing 5 of 17 reported in this area

Design a URL shortener service
asked oncemediumPractice this →
Design a file sharing mechanism between two users.
asked oncemediumPractice this →
How would you analyze the usage history of an application?
asked oncemediumPractice this →
Design a system where users share images and the system tracks the top trending images
asked oncemediumPractice this →
Design a leaderboard system that reports the rank of a user along with +/- 5 neighboring users
asked oncemediumPractice this →

Puzzles

Showing 3 of 8 reported in this area

Calculate the velocity of a swipe gesture performed by a user on a mobile screen.
asked oncemediumPractice this →
100 people are standing in a circle with a gun; the first person kills the second and passes the gun. Who survives?
asked oncemediumPractice this →
Solve the puzzle: Three ants are on the vertices of a triangle and start moving randomly along the edges. What is the probability that they do not collide?
asked oncemediumPractice this →

Behavioural

3 questions reported in this area

How will you handle pressure at work?
Is India ready for electric vehicles (EVs)?
How will you add value to the country through your work?

Aptitude

Showing 1 of 2 reported in this area

General aptitude and logical reasoning questions.

Showing 60 of 153 questions. Ranked by how often the same question came back across reports.

Practise a Hike-style interview

A spoken interview built from these questions, scored when you finish; the report is yours.

Start practising

Common questions

What questions does Hike ask?

Candidate interview reports most often cover DSA (47%) and CS fundamentals (36%).

How many rounds does Hike interview have?

Candidate interview reports show an average of 4.3 rounds per experience, with a typical sequence of Online test → Technical → Technical. Individual interview paths can vary.

Is the Hike interview hard?

Among questions with a reported difficulty, the mix is easy 32%, medium 51%, hard 17%.

Keep reading