Yahoo pen questions

Source: Internet
Author: User

1. port 22 Protocol

2. Which operating system threads and processes are not shared ()

3. The result of the forward and middle order traversal is given, and the result of the backward order traversal is obtained.

4. Conditions for deadlock.

5. Eight people are divided into two groups, with 4 people in each group. The probability of two people in a group is ();

6. There is a disease with a probability of 1/100000 and a doctor's diagnostic accuracy of 99%. If a person is diagnosed with this disease, what is the probability of a person having such a disease?

7. Large-end and small-end problems;

8. Where the C ++ program compilation fails;

9. A (m, n) = n + 1 (when M = 0)

= A (S-1, 1) (when n = 0)

= A (S-1, A (M, n-1) (when n> 0, m> 0)

What is the result of a (3, 8 )?

10. Search for an element in the matrix. All elements of the matrix are sequentially ascending from left to right.

11. There are 4 K + 2 numbers, and other numbers appear 4 times, and two numbers appear twice. The complexity and space complexity of these two numbers are as low as possible.

12. A matrix A [1], a [2],... A [n], define B [I] = A [1] * A [2] *... * A [I-1] * A [I + 1] *... * A [n], let you calculate matrix B [1... N]

13. There are n balls, which can be divided into several groups at will. If the ball is numbered, it is not allowed to disrupt the order of the ball, how many methods will there be?

14. A group of mice are given their weight and speed. (weight, velocity) allows you to find the longest sequence, in ascending order of weight, and in descending order of velocity.

15. Given a function, wild_match (STR, pattern), provides test cases for functional testing and non-functional testing;

Yahoo pen questions

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.