0 1 482
3 years ago

HP Interview Experience

Recruitment Process : HP conducts 4-5 rounds to select freshers as a software developer in their organisation. Written Round Technical Round 1 Technical Round 2 Technical Round 3 HR Round Academic Criteria : 60 percent or above in B.Tech, Class X and XII. No backlogs at the time of interview Written Round : The Written round consists of three major sections namely General Aptitude Test and Verbal Ability Test and Technical Test. General Aptitude Test, has mathematical reasoning part and logical reasoning part and verbal ability Test. Technical Rounds: The students who clear the written round are called for Technical Interview. To clear this round you should be clear with your basics. You should be prepared with Data structures and Algorithms, DBMS, Operating System, Networking, OOPs concepts. Students from branches other than CS should prepare for other two subjects related to their branch. Students will be expected to write codes in the interview. They also ask questions from resume. You may be asked puzzles in this round. To be prepared for puzzles you can practice from our Puzzles section. Tips : 1. DonĂ¢??t mention anything on the CV which you cannot defend. 2. Do not mention any term which you donĂ¢??t know about, the interviewers quickly catch it and ask question about it. HR / Managerial Round You can expect general HR questions in this round like: 1. Tell me about Yourself 2. Why HP? 3. How do you see yourself after five years from now? 4. What are your strengths and weaknesses? 5. What are your failures? 6. Any plan for higher studies? 7. Questions form resume Tips : 1. Always learn about the company before the interviews. 2. Always ask the interviewer questions if asked to. here i posted a question asked to me in hp interview:- Question:- The load factor is a measure of how full the array list is allowed to get before its capacity is automatically increased. For ArrayList, every time you put an element into it, it will check if the nested array needs to enlarge its size. If yes, generally, its size will grow to: newCapacity = oldCapacity + (oldCapacity >> 1); For some special case, for example, add many or huge numbers of elements, things will be different. Please refer grow(int minCapacity) function in java.util.ArrayList source code. The ArrayList is simple growing array. When trying to add element, and the buffer size is exceeded, it is simply growing. So the initial size can be any positive value. The 1 would be too little. Even with a few elements, we will have a few resize operations. The 100 would be a loss of space. So, 10 is kept as default capacity of ArrayList.