Strategist

10+ Strategist Interview Questions and Answers

Updated 2 Oct 2020

Q1. A group of n people is such that a symmetric relation of knowing another exists in the group. i.e. the relation is A knows B. and being symmetric if A knows B then B knows A. Prove that there exist atleast 2 pe...

read more
Ans.

In a group of people with a symmetric relation of knowing each other, there will always be at least two people who know the same number of people.

  • Consider the person who knows the maximum number of people in the group.

  • If there is no one who knows the same number of people, then everyone else must know a different number of people.

  • But this would mean that the total number of people known by everyone else is different from the total number of people known by the person who know...read more

Q2. Consider the set S of the first 2n numbers, then show that for any subset of size n+1 of the set S, there exists 2 numbers u and v such that u divides v

Ans.

For any subset of size n+1 of the set S of the first 2n numbers, there exists 2 numbers u and v such that u divides v.

  • Divide the set S into two subsets of n numbers each.

  • By the pigeonhole principle, at least one of the subsets contains two numbers whose ratio is an integer.

  • If the subset contains n+1 numbers, then one of the numbers must be in the subset with the two numbers whose ratio is an integer.

  • Therefore, there exists 2 numbers u and v such that u divides v.

Q3. In a city represented as a 2-D plane there are buildings at different positions. The position of the buildings(x,y co-ordinates) and their heights are given. Write an efficient algorithm to determine the buildi...

read more
Ans.

Algorithm to determine visible buildings in a 2D plane with given positions and heights

  • Sort the buildings by their x-coordinates

  • Traverse the sorted buildings from left to right

  • For each building, check if it is visible by comparing its height with the maximum height of previously visited buildings

  • If visible, add it to the list of visible buildings

  • Return the list of visible buildings

Q4. Given a string, find the largest substring which can be formed from repetition (>=2) of the smaller string

Ans.

Find the largest substring formed from repetition of a smaller string.

  • Identify all possible substrings of the given string.

  • Check if each substring can be formed by repeating a smaller string.

  • Return the largest substring that can be formed from repetition of a smaller string.

Are these interview questions helpful?

Q5. Given an undirected graph, if dist(u,v)>n/2. Show that there exists a vertex x such that removing x makes u and v go to different connected components.

Ans.

If dist(u,v)>n/2 in an undirected graph, there exists a vertex x such that removing x makes u and v go to different connected components.

  • Find the shortest path between u and v

  • If the path length is greater than n/2, then there must be a vertex x on the path

  • Removing x will separate u and v into different connected components

Q6. Show that for a grid of size n*n, if n is odd then there cannot be a Hamiltonian cycle in the graph

Ans.

For an odd-sized grid, there cannot be a Hamiltonian cycle in the graph.

  • A Hamiltonian cycle is a path that visits every vertex exactly once and ends at the starting vertex.

  • In an n*n grid, there are n^2 vertices and each vertex has degree 4.

  • For an odd n, the total degree of all vertices is odd, which means there cannot be a Hamiltonian cycle.

Share interview questions and help millions of jobseekers 🌟

man-with-laptop

Q7. Prove that F_nk is divisible by F_n where F_i is the ith Fibonacci number. with f_0 = 0

Ans.

Prove that F_nk is divisible by F_n where F_i is the ith Fibonacci number. with f_0 = 0

  • Use mathematical induction to prove the statement

  • Base case: F_n0 = 0, F_n is also 0, so 0 is divisible by 0

  • Inductive step: Assume F_nk is divisible by F_n, prove F_n(k+1) is divisible by F_n

  • F_n(k+1) = F_nk + F_n(k-1), use the assumption to show that F_nk is divisible by F_n

  • Therefore, F_n(k+1) is also divisible by F_n

  • Hence, the statement is true for all k

Q8. In a 2 D plane, every point is assigned a color either blue or red. Prove that there exists a rectangle with all corners of the same color

Ans.

Prove that there exists a rectangle with all corners of the same color in a 2D plane with blue and red points.

  • Divide the plane into a grid of squares.

  • By the pigeonhole principle, there must be at least one row or column with four points of the same color.

  • Consider the pairs of points in that row or column and check if any of them form a rectangle.

Strategist Jobs

GN- Software & Platforms - Platforms Strategist - Consultant 1-6 years
Accenture Solutions Pvt Ltd
3.8
Mumbai
Publicis - Shopper Strategist (2-3 yrs) 2-3 years
Publicis Groupe
3.7
Drupal Content Entry Strategist 2-3 years
Srijan Technologies Pvt. Ltd.
3.5
Gurgaon / Gurugram

Q9. Given a unit circle with center at origin, I choose three points on the circle. Find the expected length of the segment containing (1.0). Hint: answer is not 2*pi/3

Ans.

Expected length of segment containing (1,0) on a unit circle with three random points.

  • Use law of cosines to find length of each segment.

  • Calculate expected value using probability density function.

  • Answer is (4/pi) + (2/3).

Q10. How can we find the steel weight

Ans.

To find the steel weight, you need to know the dimensions and density of the steel.

  • Determine the dimensions of the steel (length, width, and height)

  • Find the density of the specific type of steel being used

  • Multiply the volume of the steel by its density to calculate the weight

  • Weight (in kg) = Volume (in m^3) x Density (in kg/m^3)

Q11. How many centimetres in one metre

Ans.

There are 100 centimetres in one metre.

  • One metre is equal to 100 centimetres.

  • To convert metres to centimetres, multiply by 100.

  • To convert centimetres to metres, divide by 100.

Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Interview experiences of popular companies

3.5
 • 408 Interviews
4.0
 • 59 Interviews
4.1
 • 3 Interviews
View all

Calculate your in-hand salary

Confused about how your in-hand salary is calculated? Enter your annual salary (CTC) and get your in-hand salary

Strategist Interview Questions
Share an Interview
Stay ahead in your career. Get AmbitionBox app
qr-code
Helping over 1 Crore job seekers every month in choosing their right fit company
65 L+

Reviews

4 L+

Interviews

4 Cr+

Salaries

1 Cr+

Users/Month

Contribute to help millions

Made with ❤️ in India. Trademarks belong to their respective owners. All rights reserved © 2024 Info Edge (India) Ltd.

Follow us
  • Youtube
  • Instagram
  • LinkedIn
  • Facebook
  • Twitter