Ola placement papers, interview questions, placement process, eligibility criteria, and complete preparation guide for 2025-2026 campus recruitment and hiring.
Ola (ANI Technologies Pvt. Ltd.) is India’s leading mobility platform and one of the world’s largest ride-hailing companies. Founded in 2010 by Bhavish Aggarwal and Ankit Bhati, Ola is known for its technology-driven transportation, electric mobility, and digital innovation, serving millions of users across India and international markets.
Headquarters: Bengaluru, India Employees: 7,000+ globally
Given an array of integers, find the maximum sum subarray (Kadane’s Algorithm).
defmax_subarray_sum(arr):
max_sum =float('-inf')
current_sum =0
for num in arr:
current_sum += num
if current_sum > max_sum:
max_sum = current_sum
if current_sum <0:
current_sum =0
return max_sum
Graph Traversal
Given a graph, find the shortest path between two nodes.
This problem is a classic example of finding the shortest path in a graph using algorithms like Dijkstra’s or Breadth-First Search (BFS). The problem statement typically involves a graph represented by an adjacency matrix or list, and two nodes (source and destination). The goal is to find the minimum number of edges or the minimum sum of weights from the source to the destination.
Example:
// Assuming a graph is represented using an adjacency matrix
// if (!sptSet[v] && graph[u][v] && dist[u] != INT_MAX
// && dist[u] + graph[u][v] < dist[v])
// dist[v] = dist[u] + graph[u][v];
// }
// cout << "Shortest distance from " << src << " to " << dest << " is " << dist[dest];
Dynamic Programming
Given a set of coins, find the minimum number of coins to make a given amount.
This problem is a classic example of the Coin Change Problem, which is a variation of the Knapsack Problem. The goal is to find the minimum number of coins needed to make a given amount using a set of coin denominations. This problem can be solved using Dynamic Programming (DP) with a bottom-up approach.