<span id="Label3"></p><p><p>Han Mengfei sha Han Yafei [email protected] yue31313 Han_meng_fei_sha</p></p>#Alibaba<p><p>Side</p></p> <ul> <ul> <li>How did you learn about android?</li> <li>What problems are encountered in the project and how to solve them?</li> <li>Android Event Distribution mechanism?</li> <li>Level Three cache bottom-up implementation?</li> <li>HashMap Bottom implementation, hashcode how to correspond to buckets?</li> <li>Java garbage Collection mechanism, Reference counting method two objects to each other how to solve?</li> <li>Source analysis of the used open source framework</li> <li>Acticity Life cycle, Activity abnormal exit what should be handled?</li> <li>What is the difference between TCP and udp, how does TCP guarantee reliable, and how is packet loss handled?</li> </ul> </ul><p><p>Two sides:</p></p> <ul> <ul> <li>Marking 1-n N personal, 1 to 3 off, reporting 3 of the exit, to the last Person's marking</li> <li>Given a string, the first non-repeating character abbcad-c</li> </ul> </ul><p><p>======</p></p>#美团<p><p>Side</p></p> <ul> <ul> <li>Self introduction</li> <li>Object-oriented three major features</li> <li>Java Virtual machines, garbage collection</li> <li>Gson</li> <li>Rxjava+retrofit</li> <li>Picture cache, Level Three cache</li> <li>Android Boot mode</li> <li>Four components</li> <li>Fragment Life cycle, Nesting</li> <li>Asynctask mechanism</li> <li>Handler mechanism</li> </ul> </ul><p><p>Two sides</p></p> <ul> <ul> <li>The interviewer writes the procedure and sees the Error.</li> <li>Interviewer writing Procedures Let's judge the GC reference counting method Circular reference what happens</li> <li>Android interprocess communication, Binder mechanism</li> <li>Handler message mechanism, will postdelayed cause thread blocking? What are the implications for internal?</li> <li>Differences in debug and release states</li> <li>To implement the Stack's pop and push interface requirements: <ul> <li>1. Using a basic array implementation</li> <li>2. Consider the paradigm</li> <li>3. Consider the synchronization problem</li> <li>4. Consider the problem of scaling</li> </ul></li> </ul> </ul><p><p>=======</p></p>#豌豆荚三面<p><p>Pea pod Side</p></p> <ul> <ul> <li>To introduce your project</li> <li>The construction of Network framework</li> <li>Implementation of picture Loading framework</li> <li>Write a picture browser and say your thoughts</li> <li>On the website write code, as follows: there is a container class ArrayList, saving an integer type element, now requires writing a helper class, a helper function is provided within the class, the function of the helper function is to delete the <10 element in the Container.</li> </ul> </ul><p><p>Pea Pods Two sides</p></p> <ul> <ul> <li><p>Activation mode of activity</p></li> <li><p>Event distribution mechanism</p></li> <li><p>Write code, Leetcode on the maximization of stock interests</p></li> <li><p>Write the code, the sword refers to the first time only the character of the offer</p></li> </ul> </ul><p><p>Pea pods on three sides</p></p> <ul> <ul> <li>Talk about the project and talk about what the university has done</li> <li>Write code, Invert string</li> <li>Write code with the most characters appearing in the String.</li> </ul> </ul><p><p></p></p><p><p>========</p></p>#蜻蜓FM<p><p>Side</p></p> <ul> <ul> <li>Use of toolbar</li> <li>How to determine the local cache when the data needs to be fetched from the network side</li> <li>inter-process communication</li> <li>Handler message mechanism</li> <li>Sharedpreference implementation</li> <li>Quick Sort</li> <li>Project Difficulty</li> </ul> </ul><p><p>==========</p></p>#新浪微博一面<p><p>Static inner class, inner class, anonymous inner class, Why do internal classes hold references to external classes? What are the references that are held? or the other?</p></p><pre><pre><code>静态内部类:使用static修饰的内部类匿名内部类:使用new生成的内部类因为内部类的产生依赖于外部类,持有的引用是类名.this。</code></pre></pre><p><p>What are the main differences between ArrayList and vectors?</p></p><pre><pre><code>ArrayList在Java1.2引入,用于替换VectorVector:线程同步当Vector中的元素超过它的初始大小时,Vector会将它的容量翻倍ArrayList:线程不同步,但性能很好当ArrayList中的元素超过它的初始大小时,ArrayList只增加50%的大小</code></pre></pre><p><p>Java Collection Class Framework</p></p><p><p>Execution order of Try Catch finally in Java</p></p><pre><pre><code>先执行try中代码发生异常执行catch中代码,最后一定会执行finally中代码</code></pre></pre><p><p>Does switch work on a byte, can it function on a long, or does it work on a string?</p></p><pre><pre><code>switch支持使用byte类型,不支持long类型,String支持在java1.7引入</code></pre></pre><p><p>What are the activity and fragment life cycles?</p></p><pre><pre><code>Activity——onCreate->onStart->onResume->onPause->onStop->onDestroyFragment——onAttach->onCreate->onCreateView->onActivityCreated->onStart->onResume->onPause->onStop->onDestroyView->onDestroy->onDetach</code></pre></pre><p><p>What is the difference between onintercepttouchevent () and Ontouchevent ()?</p></p><pre><pre><code>onInterceptTouchEvent()用于拦截触摸事件onTouchEvent()用于处理触摸事件</code></pre></pre><p><p>RemoteView in which features are used</p></p><pre><pre><code>APPwidget和Notification中</code></pre></pre><p><p>What is the difference between Surfaceview and view?</p></p><pre><pre><code>SurfaceView中采用了双缓存技术,在单独的线程中更新界面View在UI线程中更新界面</code></pre></pre><p><p>Talk about the priority of the process in android?</p></p><pre><pre><code>前台进程可见进程服务进程后台进程空进程</code></pre></pre><p><p>Tips: static classes holding activity references can cause memory leaks</p></p><p><p># #二面</p></p> <ul> <ul> <li>Service life cycle, can you perform time-consuming operations?</li> <li>JNI Development process</li> <li>Java Thread pool, Threading synchronization</li> <li>Design a picture loading frame yourself</li> <li>Customizing view-related methods</li> <li>HTTP Responsecode</li> <li>plug-in, Dynamic Loading</li> <li>Performance optimization, MAT</li> <li>Asynctask principle</li> <li>65k limit</li> <li>Serializable and Parcelable</li> <li>Files and databases which are highly efficient</li> <li>Breakpoint Continuation</li> <li>WebView and JS</li> <li>The implementation principle of the open source framework used, the source code</li> </ul> </ul><p><p>=========</p></p>#网易杭研<p><p># # #一面:</p></p> <ul> <ul> <li>Self introduction</li> <li>What is the relationship and difference between ClassLoader and Java in android?</li> <li>Cooked and not ripe jvm, say the Jvm's automatic memory management?</li> <li>Language basis, can the string class be inherited? Why?</li> <li>What can final be modified? (i said class, field, method, did he say anything else?) Then asked me not to care, and later recalled, it should be asked if I want to use final in the parameters, followed by anonymous internal Class)</li> <li>Is there a memory leak in java? (first to say the essence, and then combine handler+ anonymous inner class) How was it analyzed at that time?</li> <li>Describe the next aidl? Think there is something wrong with aidl (there is a lack of answers Here)</li> <li>Evaluate me, if smoothly into netease, need to add to the technology stack what point as soon as possible into the business?</li> </ul> </ul><p><p># # #二面:</p></p> <ul> <ul> <li>Have you used any open source, give an example? (volley)</li> <li>Activity Life cycle? Scene: now in a act1 point a new act2, how about the cycle?</li> <li>Act launchmode, There is no combination of projects used (their own program lock and the pc-side landing comparison, but I now find that should be approximately estimated to be a dynamic load of a flaw, if you find relevant information, please be sure to tell Me. The specific problem is that when the Pc-side login, the Android terminal will jump out, even if the WeChat task is not in the fore, when pressed to confirm that the return is wechat, and not their previous App)</li> <li>Does the view draw the principle that canvas itself has been used to draw the ui?</li> <li>What direction do you want to do android? (middleware +sdk)</li> <li>What do you think of front end and back end?</li> <li>How do you learn the front end?</li> <li>Advantages and Disadvantages Interest?</li> <li>Do you want to come to hangzhou?</li> <li>Evaluate me? What to add to the technology stack?</li> </ul> </ul><p><p># # #三面HR:</p></p> <ul> <ul> <li>Why do you want netease?</li> <li>Are there any other companies to invest in?</li> <li>What is NetEase most attracted to you?</li> <li>Want to come to hangzhou?</li> <li>Evaluate me?</li> </ul> </ul><p><p>=========</p></p><p><p></p></p><p><p>Android Interview Experience</p></p></span>
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