Innovator

Innovator Interview Questions and Answers

Updated 7 Nov 2024

Q1. Given a 8X8 chessboard write a condition such that if 2 queens on the chessboard kill each other then return True else Return False

Ans.

Check if two queens on a chessboard can kill each other

  • Iterate through each queen's position and check if they are in the same row, column, or diagonal

  • If any two queens are in the same row, column, or diagonal, return True

  • Otherwise, return False

Q2. Explain the working of QuickSort algorithm with an example

Ans.

QuickSort is a divide-and-conquer algorithm that sorts an array by selecting a 'pivot' element and partitioning the other elements around the pivot.

  • Select a pivot element from the array

  • Partition the array into two sub-arrays: elements less than the pivot and elements greater than the pivot

  • Recursively apply QuickSort to the sub-arrays

  • Combine the sorted sub-arrays to get the final sorted array

Innovator Jobs

GN-Health- Care Innovation- Manager 7-12 years
Accenture Solutions Pvt Ltd
3.8
Mumbai
Senior Digital Innovation & Technology 9-14 years
Schneider Electric India Pvt. Ltd.
4.1
Bangalore / Bengaluru
Hiring For AI Innovation Strategy Role 5-9 years
Info Edge
3.9
Noida
Are these interview questions helpful?
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Interview experiences of popular companies

3.7
 • 10.4k 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

Innovator 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