2019 US Youth League strokes Development Engineer (side)


US group side
begin
a course is to introduce myself ,,,,
you know multithreading thing?
Come is commonly used programming language, c ++, java has learned thing?
I learned, but not commonly used. That you are familiar with some Java-related technologies thing? Clear (embarrassed)
you say is good at c ++, open source framework that you have learned thing related to such redis. Never learned open-source framework. . Cool ,,,
then is to look at my resume, you said you'd reptiles, you are how to deal with some sites pocketing mechanism of it? Said a little bit. .
That is how you to solve some of the sites traffic control measures, and record ip of it? He says a little bit. .
Look above you wrote familiar with some commonly used algorithms, then you can say about a variety of sorting algorithms and complexity of the thing? Well ,, select all, bubbling, fast row, merge, heap ,, almost on so much.
Well, you can say what a balanced binary tree is it? Ha ha ha ,, ,, just recently I relive a moment
that is now programmed to do two questions right, 30min. Well, look at the title ,, ,, nervous after reading the first question, think for a few minutes, nothing suitable ideas. Quickly see the second question, the layout really does not look good,
wood way, and then went to see, read have ideas, write ,,,, finished, run the compiler error ,,, change ,,, Editor's Note, Zebu results, mad at me. . .
Students, written thing? . . Amount ,, ,, like to write a little problem. What do you say about it problem-solving ideas. Good ,,,,,,, finished. The first question you have ideas what, wood.
Forget it ,,, you know with mathematical algorithm is a combination of very tight now, you have studied linear algebra Well, can you explain what it is ,,, vector barabara ,,,.
If you want to determine the correlation of two keywords, how would you do it?
If you have relatively more relevant that keyword, how would you do it?
You usually talk about in the study if encountered some difficulties is how to resolve.
What do you want to ask me what? ,,,,,
over

 

 

 

Regular expression matching
Implement comprises a function to match '' and n '*' of expression. Mode character '.' Represents any one character '*' indicates that the preceding character can appear any number of times (including 0 time). In this problem, the match is a whole pattern matches all characters of the string. For example, the string "aaa" mode and "aa" and "ab * ac * a" match, but the "aa.a" and "ab * a" does not match

 


24 point arithmetic
calculation point 24 is a puzzle game cards, playing cards randomly 4, by adding (+), subtract (-), multiply (*), divide (/) to give four kinds of integer calculation algorithm 24 this problem, represented by the playing card characters or strings, which represent lowercase joker Wang, king uppercase JOKER represents:

3 4 5 6 7 8 9 10 J Q K A 2 joker JOKER

This procedure required to achieve: an input card 4, the output of a formula, the formula is the result of 24 points.

Detailed description:

1. consider only addition, subtraction arithmetic operations, etc. is not particularly factorial operation symbol, Friendly reminder, beware integer division;
2 ~ 2. The sign face 10 corresponding to a weight of 2 ~ 10, J, Q, K, A weight respectively 11, 12, 13, 1;
3. enter 4 card is a character string separated by a space, no space inclusive; if 4 cards king size included in the input, the output string "ERROR" indicates not operational;
equation 4 format is outputted through the card 4 + - is connected to * / four operators, no space, four cards appear in any order, as long as the correct result;
5. output calculation formula from left to the right, does not contain parentheses, as a result 1 + 2 + 3 * 4 24 to
6. If there are multiple equation 24 can be calculated, only one kind can be output, if unable to draw 24, the output " NONE "represents no solution.

Description Input
Input four cards as a string separated by a space, no space inclusive;

Output Description
4 cards if the input contains king size, the output string "ERROR", denotes not operational;

Guess you like

Origin www.cnblogs.com/zllwxm123/p/11354461.html