Java face question

Source: Internet
Author: User

Data

    1. "Stacks and queues" describe the differences between stacks and queues in data structures. and say 3 actions.
    1. What are the methods for "stacks and queues" to implement a queue storage structure? How to use the storage space of the queue more effectively?
    1. Stacks and queues implement a queue function with two stacks? Describe the implementation idea?
    1. How does a "hash table" implement a hash table, add a data to the Hashtable, and delete a data, and how do you do it separately?
    1. What is the function of the hash table hash function and what are the methods for constructing the hash function?
    1. "Hash Table" hash conflict is what, what is the solution to the hash conflict?

Algorithm

    1. Introduce the binary search algorithm? How to optimize if the data is unevenly distributed
    1. Implement "Find the second largest number in an integer array", first describe the implementation of the idea, and then write code implementation

3. How to find the largest 1000 numbers from 100 million numbers. The efficiency should be as high as possible, use the extra space to be as small as possible, say the idea.

Basic Java Knowledge

    1. What is the difference between a string class and a stringbuffer, and how do you convert to each other?
    1. What are the different collection classes that Java contains, and what are the differences between ArrayList and LinkedList?
    1. A list, there are a lot of repeating elements, what methods can be removed from repetition?
    1. What is the difference between abstract class and interface?
    1. What types of exceptions are included in Java, and what is the difference?
    1. What are the ways Java implements multithreading?
    1. Multithreading how do I resolve an access violation if I share a resource?
    1. What is the role of the Java reflection mechanism and what can be done with the reflection mechanism?

Java face question

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.