IOS interview FAQ, ios interview

Source: Internet
Author: User

IOS interview FAQ, ios interview
1. jesus has 13 disciples, and one of them is the traitor who sold Jesus. Please use exclusion to find the traitor: 13 people sat around and started reporting cyclically from the first person and counted to three, the last person left is the traitor.

Int people [13] = {1, 2, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13 };

Int count = 0; // used to record the number of reports

Int number = 13; // record the number of living persons

Int I = 0; // records the number of persons reporting

While (number> 1 ){

If (people [I]! = 0 ){

Count ++; // If a [I] is not removed, the report count is valid.

} If (count = 3 ){

People [I] = 0; // remove,

Count = 0; // the return value is cleared.

Number --; // The number of active users minus one

}

I ++; // the next person in the record

If (I = 13 ){

I = 0; // set the number of applicants to the first when the value exceeds the specified range.

}

} For (int I = 0; I <13; I ++ ){

If (people [I]> 0 ){

Printf ("the traitor is % d", people [I]);

}

}




2. There are 1000000 numbers. The value range of each number is 0 ~ 999999. Find the number of duplicates.
# Derefined COUNT 1000000

Int main (void)
{
Inta [COUNT] = {0 };
For (int I = 0; I <COUNT; I ++ ){
Int number = arc4random () % COUNT; // use the random number as the subscript and the value as the number of occurrences
A [number-1] ++;
}
// Output repeated numbers and number of repetitions
For (int I = 0; I <COUNT; I ++ ){
If (a [I]> 1 ){
Printf ("% d repeats % d times \ n", I + 1, a [I]);
}
}
Return0;
}
FAQs during the interview?

According to a survey conducted by the Personnel Supervisor by the bousna management consultant, the most frequently asked questions and favorite answers of the 15 personnel supervisors were obtained.

Question 1: Why do you want to leave your current position?

A. Other colleagues think that I am A Red Man before my boss, so I am crowded out everywhere.

B. I am very disappointed with the salary adjustment result, which is not proportional to my pay.

C. The boss does not want to authorize his work, and his work is restricted everywhere. It is difficult to do things by binding his hands and binding his feet.

D. The company is in poor operating conditions and everyone is worried.

Answer: more than half of the personnel supervisors select C, followed by D. Select C's answer to show the intention and ability of the applicant, and hope to be given more responsibilities. Choosing D is an objective external factor that cannot be changed by the individual due to resignation. Therefore, the interviewer will not have too many questions about his or her abilities or performance.

Question 2: How much do you know about our company?

A. Your company held the top position in the stock market for eight months last year.

B. Your company has been named the first company in XX magazine for three consecutive years as "the most desirable company for job seekers.

C. I am not very clear. Could you please introduce it.

D. Your company intends to change its strategy and strengthen OEM cooperation with major foreign manufacturers, while the portion of its own brand is through overseas dealers.

Answer: mostly D. The truth is very simple. They want job seekers to have a real understanding of the job they are applying for, not just here.

Question 3: What are the most important considerations when looking for a job?

A. The company's vision and product competitiveness.

B. The company attaches great importance to employee career planning and humanized management.

C. Can the nature of work allow me to take advantage of and grow.

D. reasonable treatment and management style of the supervisor.

A: Most people in C, because the company wants to find people who are doing well and can really contribute, rather than simply looking for fame and profit.

Question 4: why should we accept you?

A. I believe that I am better than others.

B. I have a strong ambition to grow with your company.

C. You can see the objective data presented by me in my past performance and clearly my full-effort work attitude.

D. I have been working in this industry for eight years, and my rich connections are my biggest asset.

Answer: The ideal answer to this question is C. How do you make the other party see you well? It is difficult to convince the other party by eloquence. Therefore, if you can explain it with objective figures and specific work results from the resume or previous answers, is the ideal answer.

Question 5: Please talk about your personal highlights.

A. I have excellent popularity and have served as A member of the Committee for three consecutive years.

B. I have a high degree of persistence. I will never give up without satisfactory results.

C. I am very punctual. I have never been late since my work.

D. My personality is easygoing and I am recognized as a good gentleman (MISs ).

Answer: The ideal answer to this question is B. Although both A, C, and D indicate the merits of the candidate's personality, only B's answer is the best combination of work and work performance, the answer that the interviewer is interested in.

1. I can summarize my three most words

Measure the test taker's knowledge about himself. Train of Thought: The content should be consistent with your resume; The content should be colloquial as much as possible; the content should not be irrelevant or useless; The content should be clear and well-defined; it is best to write it in the form of text in advance.

2. Talk about family conditions

Measure the test taker's knowledge about the tutor and his/her attitude towards work and life.

Thoughts: Briefly list the family population, emphasize the warm and harmonious family atmosphere, parents' emphasis on their own education, the good condition of family members, their support for their work, and their sense of responsibility for the family.

3. What hobbies do you have?

Content: Hobbies can reflect the personality, concept, and mentality of candidates to a certain extent. Train of Thought: it is best not to say that you do not have any hobbies; do not talk about those vulgar and unpleasant hobbies; do not say that hobbies are limited to reading, listening to music, and surfing the Internet, otherwise, the interviewer may doubt that the candidate is unsociable. It is better to have some outdoor hobbies to "Embellish" the image.

4. Who do they worship most?

... The remaining full text>

What are the best interview skills and answers to common interview questions?

Interview skills-answers to typical interview questions

During the interview, the interviewer will ask the applicant, and the applicant's answer will become an important basis for the interviewer to consider whether to accept him. It is vital for candidates to understand the "tricky" behind these issues. This article sorts out some typical questions that often occur during interviews, and provides corresponding answers and reference answers. Readers do not need to pay too much attention to the details of the analysis. The key is to "understand" the interview rules and the way of thinking to answer questions from these analyses to achieve "active learning and practical use ".

Question 1: "Please introduce yourself"
Idea: 1. This is a required question for the interview. 2. The content should be consistent with your resume. 3. colloquial expressions as much as possible. 4. Do not talk about irrelevant or useless content. 5. The Organization should be clear and the layers should be clear. 6. It is best to write your skills in the form of text in advance.

Question 2: "talk about your family situation"
Train of Thought: 1. The situation plays a certain role in understanding the character, concept, and mentality of the candidate. This is the main reason why the Recruitment Unit asks this question. 2. Simple listing of the family population. 3. emphasize a warm and harmonious family atmosphere. 4. Emphasize parents' importance on their own education. 5. Emphasize the good condition of family members. 6. Emphasize the support of family members for their work. 7. Emphasize your sense of responsibility to the family.

Question 3: "What hobbies do you have ?"
Ideas: 1. Hobbies can reflect the personality, concept, and mentality of candidates to a certain extent, which is the main reason why recruitment companies ask this question. 2. It is best not to say that you do not have any hobbies. 3. Do not say that you have vulgar and unpleasant hobbies. 4. It is best not to say that you are limited to reading, listening to music, or surfing the Internet. Otherwise, the interviewer may doubt that the candidate is unsociable. 5. It is best to have some outdoor hobbies to "Embellish" your image.

Question 4: "Who do you worship most ?"
Ideas: 1. The most admired person can reflect the personality, concept, and mentality of the candidate to a certain extent, which is the main reason for the interviewer to ask this question. 2. It is not advisable to say that no one worships. 3. Do not worship yourself. 4. It is not advisable to worship an illusory or unknown person. 5. It is not advisable to worship a person with a clear negative image. 6. It is best for everyone to "build" relationships with the job they apply. 7. It is best to express the qualities and thoughts of the people you worship infect yourself and inspire yourself.

Question 5: "What is your motto ?"
Ideas: 1. the motto reflects the personality, concept, and mentality of the applicant to a certain extent. This is the main reason for the interviewer to ask this question. 2. It is not advisable to say the motto of medical practitioners that cause bad associations. 3. It is not advisable to say those motto that are too abstract. 4. It is not advisable to say a long motto. 5. The motto is best to reflect your own excellent qualities. 6. refer to the answer-"finding a method for success rather than making excuses for failure"

Question 6: "talk about your shortcomings"
Idea: 1. It is not advisable to say that you have no disadvantages. 2. We should not describe the obvious advantages as disadvantages. 3. It is inappropriate to state the shortcomings that seriously affect the job you apply. 4. It is not advisable to express the unpleasant and uncomfortable shortcomings. 5. I can tell you some shortcomings that are "irrelevant" to the job I have applied for, or even some shortcomings on the surface. From the perspective of work, they are advantages and disadvantages.

Question 7: "talk about your failure experience"
Idea: 1. I should not say that I have no failure experience. 2. We should not describe the obvious successes as failures. 3. It is inappropriate to state the failure experience that seriously affects the job to be applied for. 4. The result of the experience should be a failure. 5. It should be noted that you had confidence and tried your best before the failure. 6. It indicates that the failure is only caused by external objective reasons. 7. After the failure, I quickly cheered up and faced my future work with greater enthusiasm.

Question 8: "Why do you choose our company ?"
Ideas: 1. The interviewer tries to understand your motivation, desire, and attitude towards the job. 2. We recommend that you answer this question from the perspectives of industry, enterprise, and position. 3. refer to the answer: "I am very optimistic about the industry in which your company is located. I think your company attaches great importance to talents and this job is very suitable for me. I believe that you will be able to do well ."

Question 9: "Which of the following documents do you have about this job?">

Related Article

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.