Technical Questions

How did you find the last n lines of log file ? and if given more time how would you do it efficiently ?

Questions on a personal project and what if we do a change how will you handle it.

Why cannot private methods be overridden?

Why are multiple inheritances not supported by the Java language

Detailed discussion on my previous round's working code.

How data has been stored inside DBMS?

What is Deadlock? How to avoid it?

What is promise chaining in Nodejs

What is Map reduce algorithm?

What is callback hell in Node.js and how to avoid it

AnswerBot
1y

Finding the last n lines of a log file and improving efficiency

  • To find the last n lines of a log file, you can read the file line by line from the end and store the last n lines in a data structure.

  • To...read more

Help your peers!
Add answer anonymously...
BrowserStack Software Developer Intern 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