2013年12月18日星期三

Tencent written ( complain )

A few days ago in the case of unprepared participated Tencent written test, the results of examination of the mess , the basic structure of the exam are data , operating systems , computer networks , as well as some programs fill in the blank , and my main point is not the relationship of JAVA , hey . . . . Only themselves to blame freshman , sophomore Meihuahao these courses better now regret Yeah , as a wake-up call , to learn from scratch , like PubMed learned as learn their own professional courses . Meanwhile reminder to students about to interview , the data structure is very important.
------ Solution ---------------------------------------- ----

such as Tencent, Baidu , Sohu big company like this, must recruit a large number of C language , C + +, Java, Android, and even . net and Php talent.
However, for graduating students who ( even for experienced candidates, because domestic and international top companies basically need written or computer) , the subject of data structures and algorithms , is to give the interviewer first impression of , directly determines your talent is a priority , or reserve personnel .
A few months ago I went to Sina Weibo written test, candidates Java engineer ; I am familiar with the basics of Java , Js, Jsp, S2SH etc. , as well as a year of development or testing experience ;
The first four questions are algorithms written questions, optional two questions , complete with C / C + + or Java; I remember a brief description :
1, there is a one thousand disorder integers, the fastest elect 10 minimum, disable the collection API;
2, please read the following "folder delete recursive algorithm," rewritten as a non- recursive algorithm can take advantage of a collection of API;
3, respectively , please solve the " leap of judgment" "line function body ", " monkey eating peaches ," " Fibonacci series ", " common denominator " four questions .
4, put a few split into a number of perfect squares and can be repeated , but can not contain an example: 42 = 25 +9 +4 +4
behind are some Java -based , Js, understand the three frameworks , design patterns and so on .
algorithms that my scrawl ( 1 small problem with the ring 10 times , 3 small problems do half ; because at that time did not pay attention , I think it does not matter, anyway, I am applying for Java Well , it will copy change, API tone on the line ) , the main job of the back of the subject ; finished papers to pay up , the interviewer looked at me a few questions before I called , " go back to such a message ," he glanced behind Java question did not glance ah !
I did not go Tencent interviewed ( Sina microblogging written all over not, Tencent not even think about ) .
'd have a student go to Amazon interviewed ; when the three sides of the machine indeed tried STL hash table , 1w spot test of random number ah ! He wrote a hash table conflict handling , physical structure , looking almost exactly the same performance , etc. STL , the interviewer said he was " a little bit slow to write programs ," but finally admitted.
want to go to a good company , data structures and algorithms really important ; But Evans , soft , Neusoft , Bo Yan, soft pass and some other small companies, and so it does not matter .
comes my classmates formula: the ability of programmers = API * (DataStructure + Algorithm), are indispensable !
------ Solution ---------------------------------------- ----

is to recruit high -quality , ability to learn fast.
or you say we have to take a few k, but also hard to force overtime every day , the company is not much money , time goes slowly grow , various bureaucratic ethos , culture also lacks meaning rogue tired .
overstating not directly point to 10k or more, high quality , he also easy , everybody efficiency is high , do not rely mix , is not nothing on weekends to drink, nothing to play dota, no ambition , no goals, the damage to the surrounding environment .
called the right people to do the right job.
------ Solution ---------------------------------------- ----
nothing to complain about
Some companies lazy , or for some candidates are not taken seriously , they can fill out a various language questions let you do it.
In addition , the company is certainly recruit junior staff , large companies usually after intake based on individual characteristics of the company and then decide your future direction, so you can now learn java in the company's future is not necessarily dry java
------ Solution ------------------------------------------ -

this problem is more private , I can not tell you, I speak out , afraid you joke, forgive me !  
this problem how do you say ?
large companies would prefer to interview Algorithms + Data Structures
University algorithm based on algorithms it is only university that point algorithm theory after learning what really solve practical problems
niche not understand , mainly to determine your ability to think logically it.
But if you then point algorithm theory only show for the University of the words
believe it will not get the offer of
Thus , algorithms, data structures is the foundation , but also the ability to look at your other

------ For reference only ---------------------------------- -----
data structures and additional questions are more water, the composition of the network and the principles of objective questions postgraduate level , C unfamiliar not be evaluated . Operating system managed to get it very deeply , something UNIX.
pure Javaer passing ,
------ For reference only ---------------------------- -----------
because he wanted the general level of Tencent programmer too easy , consider a large number of data structures can indeed brush
------ For reference only - --------------------------------------
today went to attend Tencent side up, by brush, was pretty uncomfortable , I interviewed two people, a mainly C + +, a very good, and he has arranged for me to go to another teacher , asked some knowledge in all aspects , I feel Tencent asked very basic , as Java rarely involved , and Tencent missed the intern , not much to say in this , Tencent hope to interview at least somewhat familiar with the data structure should be .
------ For reference only -------------------------------------- -
lz not over written and afterward? If passed, two and three-sided surface Examination sure you Java, but the difficulty is at least : Handwriting ArrayList, LinkedList, Stack, HashMap or TreeSet of CRUD , etc., and request that a generic , and analyze their own programs and run JDK source efficiency.
------ For reference only -------------------------------------- -

I was brushed one side , and the interviewer asked a lot of basic questions ( data structures, operating systems, databases, computer networks , Linux , etc. ) also asked a discrete problem . Our class has three sides had people from their answers , I analyzed the reasons for the failure of their own : a written test does not test well .2 first data structure that did not write the program to ( relatively simple, but the interview the former is not ready , the data structure almost forgotten , so ... of course, I might also excuses now trying to learn them ) .3 . selected direction may not be the missing Tencent , one side of the last day of the Pro when to go, people say that the lack of arrangements for web front end and C + + background and technical personnel .

feel second interviewer asked me questions and I answer the change is good, unfortunately . . . . . A question which I'm confused : tcp three-way handshake , assuming it is A and B , the middle of a few lines , I was the answer was three lines , because the book says so , the interviewer said the results counted back and forth a handshake , so I 'm confused , I thought so much of Tencent users , network knowledge is certainly more powerful, did not dare to question , I hope you give me the answer , thank you. Big harvest this interview , interview at least know what to prepare before .

SmallYamateh, do not you have been on three sides of Tencent ?
------ For reference only -------------------------------------- -


answer is very exciting, I recently picked up a large temporary data structures, data structures and good looks now , no big moment so painful. If there is anything you do not understand ask again , huh. . . If you have any good resources or experience to share points to interview me, brother be borne in mind kindness .
------ For reference only -------------------------------------- -
newspaper Web front side when asked a lot about js, css, ajax, browser compatibility and other issues ...
and back-end developers to c / c + +. backend java programming so uncomfortable with . . .
------ For reference only -------------------------------------- -
represent you say something , I one will not
------ For reference only ---------------------------------------
you say these are not the package is on the array , which is a little bit about the person's best estimate is that HashMap it, as long as the people of this concept Hash Map of Entry already somewhat familiar , I think I wrote it not long , at most, that is , when the same hash value storage list a bit around people . I think these things, but optimistic about it for a week. Recommended to continue in-depth java, do not read the points all day to come up with java data structure is , in addition , if that simple java
------ For reference only ---------- -----------------------------

that you are over yet ? Now feel a little bit early, I'm a junior , the latter certainly has some big companies, but to see others through , they have been brushed hard not to feel a bit uncomfortable !
------ For reference only -------------------------------------- -

then the brain does not turn about , no ability to solve problems independently , nothing interfere with other high efficiency of the work of colleagues . Hinder the progress of other projects .
no sense of urgency, he is not reserve knowledge .
things do not come out often complained it complained that .

class is boring , not as shop and go to other industries , for their own . Woodworking month has just a few K, so why bother .
------ For reference only -------------------------------------- -

not compare people around HashMap, but TreeMap.
------ For reference only -------------------------------------- -

Thank you for reminding ah ; seems that I have to learn under "in-depth understanding of the Java Virtual Machine ."
------ For reference only -------------------------------------- -
halo, Tencent apply this summer internships , unprepared , and somehow passed the written test and side ( later know their poorly written exam , pass it through the resume think it is written it ) , then side when HR is very nice, things are basically asking the resume , focusing on the things asked of the project, and then before. When the two faces of the very sad reminder , after three minutes directly rejected because: We need to reach out in this area for at least one year of people, so , I'm sorry . ps: I chose technical studies, speech signal processing ·, embarrassing
------ For reference only ---------- -----------------------------
friendly exchanges , no spray means, we work together to improve
TreeMap complex? TreeMap simply use Comparator to compare the inserted object key, black tree java code to achieve , such as the TreeMap storage structure , do not require considering cross-border issues , it really is better to HashMap design complexity , it is not even mentioned as LinkedList complex.
------ For reference only -------------------------------------- -


other large class people of God to answer,
but more likely to feel that you have not understood the meaning of his title , you two do not mean a thing
------ For reference only ------------ ---------------------------
hey . . . . . . . . .
------ For reference only -------------------------------------- -


compilation you?
------ For reference only -------------------------------------- -

I'm not into that realm ; strive to learn assembler within three years.
------ For reference only -------------------------------------- -


I think really fresh students to deal with the questions so many of you NB ,

university seems to be very natural to embark on the business logic that way ,

algorithm logic is very natural to lose a ( wait for slow response time has been a senior ah )

levels of business and the students do not need to use very often the underlying logic to solve the problem ....

( usually able to complete all the business logic products has been complacent )

really ruthless curiosity of those large cattle universities are able to answer how come ? !

I may be in a second-rate university undergraduate , vision is not enough of it .
------ For reference only -------------------------------------- -
before graduation , but the basic data structure algorithms have been forgotten now finished. Now go to the interview , 0 eggs are likely ! Really want to go , then had to go back and review, should be able to solve these problems
------ For reference only ----------------------- ----------------
know quite profound , programming languages ​​are clouds , the foundation is benevolent.
------ For reference only -------------------------------------- -


I'm learning ! Great difficulty feeling good . Great God want to succeed !
------ For reference only ---------------------------------------
large companies , campus recruitment recruitment general emphasis on basic and comprehensive knowledge of data structures, operating systems, compiler theory knowledge are needed, as well as communication skills, not just test what language.
------ For reference only -------------------------------------- -


learn !
------ For reference only -------------------------------------- -

No offense, but in our schools , at least from the beginning of freshman come to emphasize program design , rather than a programming language , then that is a lot of algorithm design and analysis courses, and the atmosphere is more people engaged in algorithms and data structures.
------ For reference only -------------------------------------- -
Cock Silk Road Branch had estimated dead in two faces two faces today feeling very bad 20 minutes to come out and multithreading linux unfortunately I will not be the focus
------ For reference only -------------------------------------- -

985 school ah ?
------ For reference only -------------------------------------- -

our professional environment may not be so good , ah, when the University every day we rdsp.
------ For reference only -------------------------------------- -
I very much agree with your point of view , ah, although I was a freshman , you say all my valued.
------ For reference only -------------------------------------- -
Oh, now, the same two faces , was brushed properly properly . . . What will not ask what
------ For reference only ---------------------------------------
interview were asked a more basic things , these things come up when nothing can liven up what
------ For reference only ------------------------- --------------
or to practical knowledge , understand the job ah , can not only know but I do not know why they also strive ......
----- - For reference only ---------------------------------------
foundation is king agreed
------ For reference only ------------------------------------ ---
foundation must be solid , ah, it appears to me it is necessary to review the matter .
------ For reference only -------------------------------------- -
Tencent written is very simple , and I fell on the last two or three questions of the final round of technical interview , remember about the kernel memory management. Really depressed
------ For reference only ------------------------------------ ---
top landlord , agree ~ ~ ~
------ For reference only ------------------------- --------------
I was a novice to learn ah look
------ For reference only ----------- ----------------------------

one will not
------ For reference only ------------------------------ ---------
what had to start from the foundation.
------ For reference only -------------------------------------- -
large cattle every year , particularly school ah :)
------ For reference only ---------------------- -----------------
work directly recommended , did not participate in the interview , good grief ~
------ For reference only ----- ----------------------------------
Tencent only recruit c + +, java how to start a recruit
------ For reference only ---------------------------------------
programming is only part of the work , based on interviews kingly
------ For reference only --------------------------- ------------

Nima ah , the same hard to force rookie ah . . .
okay, big cattle are coming from a rookie ! ! !
------ For reference only ---------------------------------------

this was not easy ah , write a JDK class library and the like , consider how much ah , really doubt the standard for this requirement is not a super talent , such as the kind of innovative workshops . . .
Incidentally posted under the appropriate JDK source code :

------ For reference only ---------------------------------- -----

  
answer is very exciting, I recently picked up a large temporary data structures, data structures and good looks now , no big moment so painful. If there is anything you do not understand ask again , huh. . . If you have any good resources or experience to share points to interview me, brother be borne in mind kindness .  


Curse II B school freshman open data structure of this course , students complete disrespect TMD , with no practical theory . I also killed miserable .
------ For reference only -------------------------------------- -

    
answer is very exciting, I recently picked up a large temporary data structures, data structures and good looks now , no big moment so painful. If there is anything you do not understand ask again , huh. . . If you have any good resources or experience to share points to interview me, brother be borne in mind kindness .          
  
  
Curse II B school freshman open data structure of this course , students complete disrespect TMD , with no practical theory . I also killed miserable .  
sophomore next semester before we opened , it was already learning to play the C language and C + +.
------ For reference only -------------------------------------- -

this was not easy ah , write a JDK class library and the like , consider how much ah , really suspect this requirement is not for the super talents standard, such as the kind of innovative workshops . . .   
Incidentally posted under the appropriate JDK source code :   
 
master the basic CRUD on the line.
------ For reference only -------------------------------------- -
  The reply was deleted administrator at 2013-04-28 12:28:10

------ For reference only ---------------------------------- -----

    
answer is very exciting, I recently picked up a large temporary data structures, data structures and good looks now , no big moment so painful. If there is anything you do not understand ask again , huh. . . If you have any good resources or experience to share points to interview me, brother be borne in mind kindness .          
  
  
Curse II B school freshman open data structure of this course , students complete disrespect TMD , with no practical theory . I also killed miserable .  
that illustrated how to deal with those prepared to open a data structure which is not directly course Yejidaxue it
------ For reference only ---------------- -----------------------
data structure that book has been lying at home did not see it ! Absorb the lessons landlord ~ ~ ~
------ For reference only ---------------------------------------
Oh,
------ For reference only ---------------------------------------
decisively engage seriously DS ah , the original that bully passed, I did not expect such an important · · · Thank you seniors it! ! ! coding ~ ~ ~
------ For reference only ---------------------------------- -----
written uc , when actually the logical reasoning questions, there is a problem on the spot did not do it, regret ah
------ For reference only --------- ------------------------------
I went so cattle can write on handwritten fast row on the good
------ For reference only ---------------------------------------

such as Tencent, Baidu , Sohu big company like this, must recruit a large number of C language , C + +, Java, Android, and even . net and Php talent.   
However, for graduating students who ( even for experienced candidates, because domestic and international top companies basically need written or computer) , the subject of data structures and algorithms , is to give the interviewer    first impression of , directly determines your talent is a priority , or reserve personnel .   
A few months ago I went to Sina Weibo written test, candidates Java engineer ; I am familiar with the basics of Java , Js, Jsp, S2SH etc. , as well as a year of development or testing experience ;   
The first four questions are algorithms written questions, optional two questions , complete with C / C + + or Java; I remember a brief description :   
1, there is a one thousand disorder integers, the fastest elect 10 minimum, disable the collection API;   
2, please read the following "folder delete recursive algorithm," rewritten as a non- recursive algorithm can take advantage of a collection of API;   
3, respectively , please solve the " leap of judgment" "line function body ", " monkey eating peaches ," " Fibonacci series ", " common denominator " four questions .   
4, put a few split into a number of perfect squares and can be repeated , but can not contain an example: 42 = 25 +9 +4 +4   
behind are some Java -based , Js, understand the three frameworks , design patterns and so on .   
algorithms that my scrawl ( 1 small problem with the ring 10 times , 3 small problems do half ; because at that time did not pay attention , I think it does not matter, anyway, I am applying for Java Well , it will copy change, API tone on the line ) , the main job of the back of the subject ; finished papers to pay up , the interviewer looked at me a few questions before I called , " go back to such a message ," he glanced behind Java question did not glance ah !   
I did not go Tencent interviewed ( Sina microblogging written all over not, Tencent not even think about ) .   
'd have a student go to Amazon interviewed ; when the three sides of the machine indeed tried STL hash table , 1w spot test of random number ah ! He wrote a hash table conflict handling , physical structure , looking almost exactly the same performance , etc. STL , the interviewer said he was " a little bit slow to write programs ," but finally admitted.   
want to go to a good company , data structures and algorithms really important ; But Evans , soft , Neusoft , Bo Yan, soft pass and some other small companies, and so it does not matter .   
comes my classmates formula: the ability of programmers = API * (DataStructure + Algorithm), are indispensable !  
Weibo has so difficult? I remember last year's candidates Weibo , written quite simple , actually not an easy interview , the interviewer asked me if I would not be a data structure , I said never learned ( I studied physics , is really never learned ) , then the interviewer asked me a plane before 2pm puzzles ...... are asked puzzles , one last time to a leader , chatted for a while, asked me the impression microblogging how, I say never used Weibo ( registered but not used ) , and then let me go ...... leadership but finally turned back to the offer, I think that's an accident , it may be the host of the spare tire -
But I school trick, it may be required to be relatively low
------ For reference only ---------------------- -----------------

  
answer is very exciting, I recently picked up a large temporary data structures, data structures and good looks now , no big moment so painful. If there is anything you do not understand ask again , huh. . . If you have any good resources or experience to share points to interview me, brother be borne in mind kindness .  
can buy the PubMed data structure used to resolve a very good
------ For reference only --------------------- ------------------
surface water over the product thanks to the interviewer feel like
------ For reference only - -------------------------------------
I can say I have not seen it written , o (╯ □ ╰) o, King ran face , side interviewer asked some basic questions , I quickly answer it on the spot on the two surfaces , the two face the interviewer asked questions too tricky , eventually kneeling . . . Tragedy ah. . . I have a classmate , wrote a tract quick side row, pass by , two side road quickly wrote a row , consider some basic questions , you too, and there are wood ah. . .
------ For reference only -------------------------------------- -

I , too, feel the same as
------ For reference only ----------------------- ----------------
I , too, feel the same as
------ For reference only ---------- -----------------------------
top landlord , agree ~ ~ ~
------ For reference only ---------------------------------------
passing . To see , learn, you big ox
------ For reference only ------------------------ ---------------
dare to ask the landlord to which school ?
------ For reference only -------------------------------------- -
data structure for a long time do not forget to light up . . .
------ For reference only -------------------------------------- -

this problem is more private , I can not tell you, I speak out , afraid you joke, forgive me !
------ For reference only -------------------------------------- -

    
answer is very exciting, I recently picked up a large temporary data structures, data structures and good looks now , no big moment so painful. If there is anything you do not understand ask again , huh. . . If you have any good resources or experience to share points to interview me, brother be borne in mind kindness .          
  
  
Curse II B school freshman open data structure of this course , students complete disrespect TMD , with no practical theory . I also killed miserable .   We are also open. . We had a junior school is open . School reform , freshman opened. What 's your school ?
------ For reference only -------------------------------------- -
Good mark ...
------ For reference only ---------------------------- -----------
wonder not cow 's interview , posted chat are inserted Nothing mouth, sure the game ah. Moreover, some large cattle never chatted drop
------ For reference only ----------------------------- ----------

      
answer is very exciting, I recently picked up a large temporary data structures, data structures and good looks now , no big moment so painful. If there is anything you do not understand ask again , huh. . . If you have any good resources or experience to share points to interview me, brother be borne in mind kindness .                
    
    
Curse II B school freshman open data structure of this course , students complete disrespect TMD , with no practical theory . I also killed miserable .        We are also open. . We had a junior school is open . School reform , freshman opened. What 's your school ?  
a school freshman Introduction , feel then ah
------ For reference only ------------------------- --------------
~ ~ ~ ~ ~ ~ ~ older students passing one to bother me sorry ! ! !
------ For reference only -------------------------------------- -

---- - For reference only ---------------------------------------
I 17 -year-old sophomore . Our school has opened computer classes .

now attached to " put a few split into a number of perfect squares and can be repeated , but can not contain an example: 42 = 25 +9 +4 +4" answers

using recursive
import java.util.*;
import java.io.*;
public class test{
public static void main(String[] args){
Scanner in=new Scanner(System.in);
int a=in.nextInt();
if(a<8){
p("must more than 7,input:");
a=in.nextInt();
}
ArrayList<Integer> arr=new ArrayList<Integer>();
s(arr,a);
p(a+"=");
int len=arr.size();
for(int i=0;i<len;++i)
{
int x=arr.get(i);
p(""+(x*x));
if(i!=len-1)
p("+");
}

}
static boolean s(ArrayList<Integer> arr,int a){
if(a==0)
return true;
int n=(int)Math.sqrt(a);
if(n==1)
return false;
while(!s(arr,a-n*n))
if(--n<2)
return false;
arr.add(n);
return true;
}
static void p(String s){
System.out.print(s);
}
}


------ For reference only ---------------------------------- -----
useful for me []!
------ For reference only ------------------------ ---------------
other I do not write too mentally handicapped , just pick an interesting write a bit
------ For reference only ---------------------------------------
if (a <8) changed while (a <5);
------ For reference only ------------------------- --------------
if (a <8) changed while (a <5); ------ should be while (a <8)
------ For reference only -------------------------------- -------
saw in front of the great God predecessors sigh , feeling the future with the goal of
Oh , JAVA -based , I have just learned , there 's something nice simple ........ supposed to start school next book pages , and then the database and C # .... to learn JAVA that is , when two friends, really easy to teach school
------ For reference only ---------------------------------------
finished, heart pull pull cool cool the data structure is a little not ah
------ For reference only ---------------------------------------
resurgence in Nanjing to do outsourcing ; the interview is mainly js. . Say ask technical framework we have our own framework. . Do we outsource will copy on the line as long as it? ? Halo
------ For reference only ------------------------------------- -
Fortunately, I did not test the interview these , or else second brush
------ For reference only ------------------------------- --------
work is all we do
------ For reference only --------------------- ------------------
I think this is a question of the direction of development , the landlord wanted to abandon Java do
------ For reference only - -------------------------------------
interviews are based on the test !
hey , guess I have to start preparing a little longer !
------ For reference only -------------------------------------- -
boyfriend is your all
------ For reference only -------------------------------------- -
pressure Alexander !
------ For reference only ---------------------------------------

------ For reference only ---------------------------------------
questions posted to share with you.
------ For reference only -------------------------------------- -

---- - For reference only ---------------------------------------
what data structure read it again m feeling
--- --- For reference only ---------------------------------------
landlord trial yet? is valid !
------ For reference only ------------------------------------ ---
visual data structure is important. . .
this too hard , ah ..
------ For reference only --------------------------- ------------
learn just starting to feel better , now feel learn disorderly, saw some feelings, seems to have to work harder
---- - For reference only ---------------------------------------
this to the top click !
------ For reference only -------------------------------------- -
into Tencent easy.

没有评论:

发表评论