JavaRush /Java Blog /Random EN /Collection of Java training materials
alexnjc
Level 31

Collection of Java training materials

Published in the Random EN group
I could just add it to my bookmarks, but perhaps these materials will be useful not only to me. 1000+ hours of Java videos in Russian http://habrahabr.ru/company/golovachcourses/blog/215275/ Java interview. Collections 1. What is the difference between an ArrayList and a LinkedList? 2. What do you usually use (ArrayList or LinkedList)? Why? 3. Which is faster, ArrayList or LinkedList? 4. You need to add 1 million. element, what structure are you using?5. How do you remove elements from an ArrayList? How does the size of the ArrayList change in this case? 6. Propose an efficient algorithm for removing several adjacent elements from the middle of a list implemented by ArrayList. 7. How does HashMap work? 8. What is the initial number of buckets in a HashMap? 9. What is an estimate of the time complexity of selecting an element from a HashMap? Does HashMap guarantee the specified element fetch complexity? 10. Role of equals and hashCode in HashMap? 11. Maximum number of hashCode() values? 12. How and when does the number of buckets in a HashMap increase? 13. In what case can an element in a HashMap be lost? 14. Why can't byte[] be used as a key in a HashMap? 15. What is the difference between a TreeSet and a HashSet? 16. TreeSet device? 17. What happens if you add elements to a TreeSet in ascending order? Answers: http://habrahabr.ru/post/162017/ Deep cloning without bicycles: We use this library: https://code.google.com/p/cloning/ Source on GitHub: https://github.com/alxbnet /cloner-test Description and tests: http://alxb.net/post/60013707524/deep-cloning-java-without-reinventing-the-wheel
Comments
TO VIEW ALL COMMENTS OR TO MAKE A COMMENT,
GO TO FULL VERSION