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
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
Top BrowserStack Software Developer Intern interview questions & answers
Popular interview questions of Software Developer Intern
Reviews
Interviews
Salaries
Users/Month