Ques1: There is a big file of words which is dynamically changing. We are continuously adding some words into it. How would you keep track of top 10 trending words at each moment? Ques2:Write a function that returns the length of the longest leaf-to-leaf path in a binary tree. Ques3:There is a N*N integer matrix Arr[N][N]. From the row r and column c, we can go to any of the following three indices: I. Arr[ r+1 ][ c-1 ] (valid only if c-1>=0) II. Arr[ r+1 ][ c ] III. Arr[ r+1 ][ c+1 ] (valid only if c+1

AnswerBot
1y

The first question is about keeping track of top 10 trending words in a dynamically changing file. The second question is about finding the length of the longest leaf-to-leaf path in a binary tree. Th...read more

Basavaraj
1mo
We think and run our heads
Help your peers!
Add answer anonymously...
Acxiom Consulting Trainee Interview Questions
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
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