当前位置:网站首页>Test interview | how much can you answer the real test interview question of an Internet company?

Test interview | how much can you answer the real test interview question of an Internet company?

2022-07-07 05:00:00 Huo Laoshi

In the near future , Hogwarts test school @T classmate Interviewed a well-known Internet manufacturer for testing and development , During the interview, I encountered many headache problems , Mentality also fluctuates . Although it finally passes through three sides , Get a high salary
Offer, But also call stimulation .

This article is part of the interview questions summarized in his reply , Share it for your test partners to learn and reference . Look at the following questions , How much can you answer ?

one side

The interviewer should be a technical boss of the team , A man of science and engineering is serious , It's very big .

  1. Introduce yourself briefly ;

    1. How to implement the automated testing framework ?
    1. Talk about some common problems in the industry such as automation cost performance ;
    1. Java What is the base class in ? What methods are commonly used in base classes ?( I mentioned getClass(), So the interviewer asked getClass What methods are used to do ?)
    1. Redis What are the data types of ?
    1. understand Redis Data persistence ?
    1. Spring Web Do you understand the development of ?
    1. Multithreading understand ? Explain the common keywords of multithreading ;
    1. Hashmap Of put How to implement the method , Talk about the process ?
    1. Hashmap Is it thread safe ? Why not thread safe ?
    1. Besides using sychronized Keyword to solve thread safety problems , Are there any other keywords ?
    1. What are the three important parameters in the thread pool ?
    1. What indexes do you know ? Why the index fails ?
    1. Talk about the four characteristics of database transactions ?
    1. Talk about the isolation level of database transactions ?
    1. Talk about the transaction propagation level of the database ?
    1. database SQL subject

      Class table t1:stuid, class
      League tables t2: stuid,sub,grade
      Statistics :

                          The total score of each class >500 The number of people ;  
      
  2. Algorithm title
    Design LRU, But the title is too long to understand , So the interviewer changed a simpler question —— Design LRU Cache structure .

Language :C、Python、C++、Javascript、Python3、Java、Go All can .

         Design  LRU  Cache structure , The structure is sized at construction time , Assume the size is K, And has the following two functions   
              
                  - set(key, value): Will record (key, value) Insert the structure   
                  -     - get(key): return key Corresponding value value   
                  -       
                  -     [ requirement ]  
                  -       
                  -     - set  and  get  The time complexity of the method is O(1)  
                  -     -  Some  key  Of  set  or  get  Once the operation occurs , Think of this  key  The most commonly used record of .  
                  -     -  When the size of the cache exceeds  K  when , Remove the least frequently used records , namely  set  or  get  The oldest .  
                  -     -  if  opt=1, The next two integers  x, y, Express  set(x, y)  
                  -     -  if  opt=2, Next an integer  x, Express  get(x), if x Not present or removed , Then return to -1  
                  -     -  For each operation  2, Output an answer   
                  -        
                  -     [ Example 1]  
                  -       
                  -      Input   
                  -       
                  -      [[1,1,1],[1,2,2],[1,3,2],[2,1],[1,4,4],[2,2]],3  
                  -       
                  -      Output   
                  -        
                  -      [1,-1]  
                  -       
                  -      explain   
                  -       
                  -     -  After the first operation : The most commonly used records are ("1", 1)  
                  -     -  After the second operation : The most commonly used records are ("2", 2),("1", 1) Become the least commonly used   
                  -     -  After the third operation : The most commonly used records are ("3", 2),("1", 1) Or the least commonly used   
                  -     -  After the fourth operation : The most commonly used record is ("1", 1),("2", 2) Become the least commonly used   
                  -     -  After the fifth operation : The size is over 3, So remove the most infrequently used records at this time ("2", 2), Accession record ("4", 4), And for the most commonly used records , then ("3", 2) Become the least frequently used record   
                  -     
  1. Algorithm title

       Enter a linked list , After reversing the list , Output the header of the new linked list .  
    

Two sides

The interview atmosphere is relatively cordial and gentle , The overall atmosphere is relatively relaxed .

  1. Introduce yourself briefly ?
    1. Do you think it is necessary to do automated testing ? What's the point of Automation ?
    1. Have you encountered any test difficulties in the project , Tell me about ?
    1. Talk about your understanding of test development ?
    1. Design wechat friend circle praise and comment use cases
    1. How do you usually study ?
    1. Do you have any goals or plans for the future ?
    1. What are your expectations for the team ?
    1. How late can you start the job ?
    1. At present, you have other family's Offer Do you ? Why are you here ?
    1. What do you want to ask me ?

On three sides

Or technical , Many problems are still very challenging , The originally relaxed heart suddenly became nervous .
… … … Remaining true questions , Official account acquisition … … …

Please pay attention to the official account of Hogwarts Testing Institute , Reply code 「 20 」 Get all the interview questions . More test interview questions album content , Please reply 「 interview 」.

Scan the code and follow the official account of Hogwarts Testing Institute
obtain Test and develop dry goods materials

Come to Hogwarts test development society , Learn more advanced technologies of software testing and test development , Knowledge points cover web automated testing app automated testing 、 Interface automation testing 、 The test framework 、 Performance testing 、 Security testing 、 Continuous integration / Continuous delivery /DevOps, Test shift left 、 Test move right 、 Precision testing 、 Test platform development 、 Test management, etc , Course technology coverage bash、pytest、junit、selenium、appium、postman、requests、httprunner、jmeter、jenkins、docker、k8s、elk、sonarqube、jacoco、jvm-sandbox And other related technologies , Comprehensively improve the strength of test engineers
QQ Communication group :484590337
official account TestingStudio
For more information, please visit https://ceshiren.com
Tester community
Video data collection :https://qrcode.testing-studio.com/f?from=CSDN&url=https://ceshiren.com/t/topic/15844
Click for more information

原网站

版权声明
本文为[Huo Laoshi]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/02/202202130742045617.html