Interview Questions and Answers - Order By Newest Q41. How to create list that will sort it's elements dynamically? Algorithm
Ans. Override the behavior of collection class to sort the list upon each element addition. Though it's not recommended as list are sorting heavy data structures.
List<MyType> list = new ArrayList<MyType>() {
public boolean add(MyType mt) {
super.add(mt);
Collections.sort(list, comparator);
return true;
}
}; Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve   Asked in 1 Companies intermediate Q42. If a company comes to you with a problem statement, how would you help provide a solution for it ? General
This question was recently asked at 'UST Global'.This question is still unanswered. Can you please provide an answer. Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve   Asked in 1 Companies Q43. How has been your experience working with people of different background ? General
Ans. [Open Ended Answer]
This question is usually asked to check if you gel good with people of different background and are no racist at work. Be very cautious about answering such questions as any negative answer may lead to immediate rejection in spite of an excellent technical rounds. Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve   Asked in 1 Companies Q44. Have you ever contributed to make a process better ? How ? General
Ans. [Open Ended Answer] Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve   Asked in 1 Companies Q45. Why did you apply for this position? General
Ans. [Open ended Answer] Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve   Asked in 1 Companies Q46. What was something great that you learned at your last Job ? General
Ans. [Open Ended Answer] Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve   Asked in 1 Companies Q47. How would you design your friend's kitchen ? General
Ans. [Open Ended Answer] Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve   Asked in 1 Companies Q48. What is your major weakness ? General
Ans. [Open Ended Answer] Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve   Asked in 1 Companies   frequent Q49. What do you know about our company ? General
Ans. [Open Ended Answer] Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve   Asked in 2 Companies   frequent Q50. What unique things you have brought to the companies you worked earlier ? General
This question was recently asked at 'The Bank of New York Mellon (BNY Mellon)'.This question is still unanswered. Can you please provide an answer. Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve   Asked in 1 Companies Q51. How have you influenced someone with whom you have worked earlier ? General
This question was recently asked at 'The Bank of New York Mellon (BNY Mellon)'.This question is still unanswered. Can you please provide an answer. Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve   Asked in 1 Companies Q52. Describe one of your major failure at job and what you learned from it. General
This question was recently asked at 'The Bank of New York Mellon (BNY Mellon)'.This question is still unanswered. Can you please provide an answer. Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve   Asked in 1 Companies Q53. How do you Organize and prioritize your work ? General
Ans. [Open Ended answer] Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve   Asked in 1 Companies Q54. How do you maintain configuration values in your existing applications ? General
Ans. [Open Ended Answer] Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve   Q55. If your colleague didn't finish their tasks and there was a deadline coming up, would you finish it for them? General
Ans. [Open Ended Answer] Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve   Asked in 1 Companies Q56. Which Java features you like the most ? General
This question is still unanswered. Can you please provide an answer. Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve   Q57. Which Java features you dislike the most ? General
This question is still unanswered. Can you please provide an answer. Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve   Q58. Which features you feel are missing in Java and would have added great value if were present in the language ? General
This question is still unanswered. Can you please provide an answer. Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve   Q59. Do you like the features introduced with Java 8 ? Which one you like the most ? General
This question is still unanswered. Can you please provide an answer. Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve   Q60. Why do we need Garbage collection ? Core Java
Ans. Garbage collection mechanism frees up the memory that is no longer needed. In languages like C / C++ the deallocation needs to be done explicitly by the programmer and hence any leniency may result in memory leak. Garbage collection in java ensures that all unused memory is reclaimed and hence there are no memory leaks.Moreover it relieves the programmer from the hassle of carefully releasing all memory. Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve  Garbage Collection  memory management Asked in 2 Companies This question was recently asked at 'Acute Informatics,General Atomics'.This question is still unanswered. Can you please provide an answer. Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve   Asked in 2 Companies Q62. Which type of projects have you worked on ? General
This question was recently asked at 'Horizon Solutions'.This question is still unanswered. Can you please provide an answer. Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve   Asked in 1 Companies Q63. Which tools have you used in your previous projects ? General
This question was recently asked at 'Horizon Solutions'.This question is still unanswered. Can you please provide an answer. Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve   Asked in 1 Companies Q64. What are your short and long terms goals ? General
This question was recently asked at 'Horizon Solutions'.This question is still unanswered. Can you please provide an answer. Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve   Asked in 1 Companies Q65. Tell me about your greatest accomplishment? General
This question is still unanswered. Can you please provide an answer. Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve   Q66. What is your role in your current organization? General
This question is still unanswered. Can you please provide an answer. Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve   Q67. How many Windows are there in Manhattan ? General
Ans. Population of Manhattan is roughly 2 millions. Nearly same number of people come to Manhattan daily for work. So if whole of Manhattan comprise of only residential and commercial buildings, that makes up 1/3rd residential and 2/3rd commercial. I have lived in a house in a high rise building in downtown and the average size of the house is 1 bedroom with 2 windows and on average 2 people live in a house. So that makes up roughly 1.33 million windows in Residential buildings. At commercial buildings, windows per capita is much lower as more people share the space and roughly it comes down to 1 window for 10 people. So that makes up .266 millions windows in commercial establishments.
So in total there are roughly 1.6 million windows in Manhattan. Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve  how many Q68. If a team member send you the code for review which you don't agree to but is just slightly off , Would you approve it or reject it ? General
This question was recently asked at 'Sofi'.This question is still unanswered. Can you please provide an answer. Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve  code review Asked in 1 Companies Q69. How do you keep yourself aupdated with the changes in technologies ? General
This question was recently asked at 'Sofi,Overstock.com,General Electric (GE)'.This question is still unanswered. Can you please provide an answer. Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve   Asked in 3 Companies Q70. How would you describe your current or previous Boss ? General
This question is still unanswered. Can you please provide an answer. Help us improve. Please let us know the company, where you were asked this question : Like Discuss Correct / Improve