Add office photos
Engaged Employer

Bajaj Finserv

4.0
based on 8.7k Reviews
Proud winner of ABECA 2024 - AmbitionBox Employee Choice Awards
Filter interviews by

CrossML Interview Questions and Answers

Updated 5 Feb 2024
Popular Designations
Q1. Alien dictionary

You have been given a sorted (lexical order) dictionary of an alien language. Write a function that finds the order of characters in the alien language. This dictionary will be given to you in t...read more

View 2 more answers
Q2. Flood Fill Algorithm

Ninja has found his new passion for photography. He has clicked some really good photos but in one of his images, he doesn’t like the color of a particular region. So, he decides to change t...read more

View 2 more answers
Q3. The Skyline Problem

You are given 'N' rectangular buildings in a 2-dimensional city. Your task is to compute the skyline of these buildings, eliminating hidden lines return the skyline formed by these buildings ...read more

View 2 more answers
Q4. Check if the Word is present in Sentence or not

You have been given a sentence ‘S’ in the form of a string and a word ‘W’, you need to find whether the word is present in the given sentence or not. The word must...read more

View 2 more answers
Discover CrossML interview dos and don'ts from real experiences
Q5. Reverse Words In A String

You are given a string of length N. You need to reverse the string word by word. There can be multiple spaces between two words and there can be leading or trailing spaces but in the ou...read more

View 2 more answers
Q6. Rat In A Maze

You are given a starting position for a rat which is stuck in a maze at an initial point (0, 0) (the maze can be thought of as a 2-dimensional plane). The maze would be given in the form of a squar...read more

Add your answer
Q7. Application Question

Consume this API to upload your basic details like Name, Email, College Id, Registration No., and your Code to move to the next step. Any response other than ‘Your details have been submitte...read more

Add your answer

Q8. longest common subsequence of two string

Ans.

The longest common subsequence of two strings is the longest sequence of characters that appear in the same order in both strings.

  • Use dynamic programming to solve this problem efficiently.

  • Create a 2D array to store the lengths of the longest common subsequences.

  • Iterate through the characters of both strings and update the array based on the matching characters.

  • Trace back the array to find the longest common subsequence.

Add your answer

More about working at Bajaj Finserv

Top Rated Mega Company - 2024
Top Rated Financial Services Company - 2024
Contribute & help others!
Write a review
Share interview
Contribute salary
Add office photos

Interview Process at CrossML

based on 3 interviews in the last 1 year
Interview experience
4.3
Good
View more
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Top Software Developer Interview Questions from Similar Companies

4.2
 • 136 Interview Questions
4.3
 • 39 Interview Questions
3.7
 • 34 Interview Questions
3.5
 • 26 Interview Questions
4.0
 • 18 Interview Questions
3.9
 • 16 Interview Questions
View all
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
70 Lakh+

Reviews

5 Lakh+

Interviews

4 Crore+

Salaries

1 Cr+

Users/Month

Contribute to help millions
Get AmbitionBox app

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