collections interview questions and answers

Read about collections interview questions and answers, The latest news, videos, and discussion topics about collections interview questions and answers from alibabacloud.com

Reverse merge of linked list related Interview Questions

Reverse merge of linked list related Interview Questions The linked list is the most basic data structure. Interviewers often use the linked list to evaluate the basic abilities of the interviewee. In addition, the linked list-related operations are relatively simple and suitable for investigating the ability to write code. Linked List operations cannot be separated from pointers, which can easily lead to e

Android interview questions (updated in succession)

I will summarize some common android interview basic questions to see how many questions can you make? 1. What are several intent startup methods? Do you understand each meaning? Here, Android123 reminds you that some Intent tags include FLAG_ACTIVITY_BROUGHT_TO_FRONT, FLAG_ACTIVITY_CLEAR_TOP, struct, struct, FLAG_ACTIVITY_MULTIPLE_TASK, and FLAG_ACTIVITY_NE

25 JavaScript interview questions you need to know

problems.var hero = { _name: 'John Doe', getSecretIdentity: function (){ return this._name; }};var stoleSecretIdentity = hero.getSecretIdentity;console.log(stoleSecretIdentity());console.log(hero.getSecretIdentity());SetgetSecretIdentityAssignedstoleSecretIdentityIs equivalent to definingstoleSecretIdentityFunction:var stoleSecretIdentity = function (){ return this._name;}stoleSecretIdentityThe context of is the global environment, so the first outputundefined. To output

Java multi-thread interview questions

Java multi-thread interview questions 1. What is the difference between ArrayList and Vecoter? Similarities and differences between Array and ArrayListI. Differences between Array and ArrayList#1. variables of the Array type must be instantiated at the same time (at least the size of the Array must be initialized), while ArrayList can only be declared first.For example:Int [] array = new array [3];Or int []

70 Classic Shell Script interview questions

between $* and [email protected] $*– output all parameters passed to the script as a string [Email protected]– to list all parameters passed to the script in $IFS delimiter 63) How do I define an array in bash?array= ("Hi" "My" "Name" "is")64) How do I print the first element of an array?Echo ${array[0]}65) How do I print all the elements of an array?Echo ${array[@]}66) How do I output all the array indexes?Echo ${!array[@]}67) How do I move an element with an index of 2 in th

PHP programmer to share the written test and interview questions

Ordinary PHP Programmer pen TestTags: programmer PHP interview 2009-02-06 15:191. Use PHP to print out the day before, the print format is May 10, 2007 22:21:212. PHP code is as follows:$a = "Hello";$b =amp; $a;Unset ($b);$b = "World";echo $a;What is the result?3. PHP code is as follows:$STR = "CD";$ $str = "Landog";$ $str. = "OK";Echo $CD;What is the result?4. Write a code with PHP, implementation does not use the 3rd variable, Exchange $a, $b value,

Java Collection framework grooming (with classic interview questions)

. At the same time if there are multiple threads accessing Hashmap,collections.synchronizedmap () can be substituted, generally hashmap more flexible.10. Why is the vector considered to be obsolete or unofficially deprecated? Or why we should always use ArrayList instead of vectors.You should use ArrayList instead of vectors because by default you are non-synchronous, vectors synchronize each method, you almost never do that, and usually you want to synchronize the entire sequence of operations.

C # interview questions

between an interface and an abstract class? What is the basis for using interfaces and abstract classes?Q13: What are the similarities and differences between custom controls and general user controls? If you want to use either of the two, which one do you choose? Why?Q14: Describe ASP. NET Server Control LifecycleQ15: UMLQ16: object-oriented concept, Main FeaturesQ17: basis for classification. Class granularity issuesQ18: Transaction Management Problems First, let's talk about the differences

Several directions for C + + interview questions

1 Some important points about polymorphism and object-orientedAs an object-oriented programmer, this problem is to be clear, on-line, textbooks are standard answers, the key is to understand the connotation oh.2 about virtual function tables and Rtti This inside C + + Object model speaks fairly clearlyThe first item of the virtual function table is about RTTI, and Rtti is the run time Type identification.The following is the virtual function pointer i

C language interview questions that appear at the same time between Intel and Microsoft

C language interview questions that appear at the same time between Intel and Microsoft # Pragma pack (8) Struct S1 {Short;Long B;}; Struct S2 {Char C;S1 D;Long long E;}; # Pragma pack () Question1. sizeof (S2) =?2. How many bytes are left behind a in S1 of S2 and then B?   If you know the answer, please write it in the discussion. Below are some answers from so

100 interview questions for software developers

Hiring smart software developers is not easy.If you're not careful you might end up hiring a bunch of moronic Mandrills, like I did last year. and you don't want that. trust me. stand-up meetings are very hard to do in a tree. The key is to askChallenging questionsThat enable you to distinguish the smart software developers from the moronic Mandrills. And to help you with that, I decided to publish my private list100 interview

ORACLE interview Questions-Technical articles (2)

oracle| problem ORACLE interview Questions-Technical articles (2) 21. How to determine the time zone of the database? Answer: SELECT dbtimezone from DUAL; 22. Explain the purpose of global_names set to True Answer: Global_names indicates how the database is joined. If this argument is set to True, You must connect the remote database with the same name when you create the database link 23. How do I encry

C/C ++ written examination, Interview Questions Summary

C/C ++ written examination, Interview Questions Summary1. Find the return value of the following function (Microsoft) Int func (X){Int countx = 0;While (X){Countx ++;X = x (x-1 );}Return countx;} Assume x = 9999. Answer: 8 Train of Thought: Convert X to a binary system and check the number of contained 1. 2. What is "reference "? What should I pay attention to when declaring and using "reference? A: A refe

SQL interview questions

When interviewing the SQL Server database developer, I used a set of standard benchmark technical questions. The following problems are the problems that I think can really help eliminate unqualified candidates. They are arranged in the order of ease to difficulty. When you ask questions about the primary key and foreign key, the following questions are very diff

Java Collection interview questions

  The Java Collection Framework is the most frequently asked question of Java interviewing, and it is necessary to understand the powerful features of Java technology to master the set framework. Here are some practical questions, often asked in the core Java interview.1. What is the Java Collection APIThe Java Collection Framework API is a unified framework for representing and manipulating

Java programmer interview 32 questions ZZ

inherit it. Subclass overwrites the finalize () method to sort system resources or perform other cleanup tasks. The finalize () method is called before the Garbage Collector deletes an object. Second, can anonymous inner class (anonymous internal class) be extends (inherited) other classes, or implements (implemented) interface (Interface )? An anonymous internal class is an internal class without a name. It cannot be extends (inherited) other classes, but an internal class can be used as an in

In-depth analysis of common interview questions for C ++ programmers

C ++ programmers apply for common interview questions in-depth analysis 2 -- Linux general technology-Linux technology and application information, the following is to read details. 3. Internal issues Question 1: Give the if statement for comparing the BOOL, int, float, pointer variable and "zero value" respectively (assuming the variable name is var) Answer: Boolean variable: if (! Var) Int type variab

Huawei interview questions about the sorting of 1 to n Natural Numbers

think carefully? It is self-righteous and wrong to educate new people in such an irresponsible attitude! If I did not think about it carefully, I wrote it down. Isn't it ......After chatting, I went on to talk about this question. Although this cainiao knows that the algorithm above is incorrect, I cannot think of any good improvement methods. Fortunately, I went to another forum on Baidu, answers provided in this forum are as follows: Int CNT = 0; /

JS variable, scope, Memory (including pre-analytic interview Questions)

; console.log(‘进入‘); } console.log(a);/script>Answers to pre-analytic surface questions Question 1th: function Question 2nd: number 3rd question: 100 123 4th question: 100 Function Body Question 5th: function Body function body 6th question: 1 Because the function x is a function parameter, it can be understood as a local variable inside the function, outside the fu

Analysis of Java interview questions

Collector deletes an object. 13. Can anonymous inner class (anonymous internal class) be extends (inherited) other classes, or implements (implemented) interface (Interface )? An anonymous internal class is an internal class without a name. It cannot be extends (inherited) other classes, but an internal class can be used as an interface and implemented by another internal class. 14. The difference between static nested class and inner class is that the more you say, the better (the more general

Total Pages: 15 1 .... 11 12 13 14 15 Go to: Go

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.