码迷,mamicode.com
首页 >  
搜索关键字:快手 面试 面经    ( 20280个结果
一个java的面试题
有一个txt文档,里面有很多行的用户资料,每行比如:姓名,电话号码,...之间都是用逗号分隔现在要去掉电话号码重复的行,而且要按照电话号码排序。怎么用java实现?希望高手出来指点指点!!!
分类:编程语言   时间:2014-05-16 06:02:02    阅读次数:255
迅雷android面试题
一、android几种定时器的机制及区别。 答:在android中,经常用到的定时器主要有以下几种实现: 1、采用handler与线程的sleep(long)方法 开启一个线程,,每隔1s向Handler发送消息 public class MainActivity extends Activity { private Handler myhandler; private static...
分类:移动开发   时间:2014-05-15 06:26:20    阅读次数:440
CareerCup之1.6 Rotate Image
【题目】 原文: 1.6 Given an image represented by an NxN matrix, where each pixel in the image is 4 bytes, write a method to rotate the image by 90 degrees. Can you do this in place? 译文: 一张图像表示...
分类:其他好文   时间:2014-05-15 05:43:35    阅读次数:240
LeetCode-004 Add Two Numbers
【题目】 You are given two linked lists representing two non-negative numbers. The digits are stored in reverse order and each of their nodes contain a single digit. Add the two numbers and return it as a linked list. Input: (2 -> 4 -> 3) + (5 -> 6 -> 4) Out...
分类:其他好文   时间:2014-05-15 05:13:49    阅读次数:306
LeetCode 006 ZigZag Conversion
【题目】 The string "PAYPALISHIRING" is written in a zigzag pattern on a given number of rows like this: (you may want to display this pattern in a fixed font for better legibility) P A H N A P L S I I G Y I R And then read line by line: "PAHNAPLSI...
分类:其他好文   时间:2014-05-15 04:30:57    阅读次数:313
LeetCode-005 Longest Palindromic Substrin
【题目】 Given a string S, find the longest palindromic substring in S. You may assume that the maximum length of S is 1000, and there exists one unique longest palindromic substring. 【题意】 题意是找出字符串S中最长回文子串,S最长为1000,保证有唯一解 【思路】 原字符串用特殊字符#间隔,如下所示: #a...
分类:其他好文   时间:2014-05-15 03:31:25    阅读次数:299
CareerCup之1.5 空格替换
原文: 1.5 Write a method to replace all spaces in a string with ‘%20’. 译文: 写一个函数,把字符串中所有的空格替换为%20 。...
分类:其他好文   时间:2014-05-14 14:09:29    阅读次数:310
java 安全性
java的安全性前天去一个公司面试,技术官问了我一个问题,java的安全性的特点主要体现在什么地方。我竟然哑然。后来仔细一想,再查了一点资料,整理如下:java的安全在语言级上提供了很好的安全措施,主要是:1、严格遵循面向对象的规范。这样封装了数据细节,只提供接口给用户。增加了数据级的安全性。2、无...
分类:编程语言   时间:2014-05-14 13:58:07    阅读次数:280
从一道面试题来认识java类加载时机与过程
说明:本文的内容是看了《深入理解Java虚拟机:JVM高级特性与最佳实践》后为加印象和理解,便记录了重要的内容。1 开门见山以前曾经看到过一个java的面试题,当时觉得此题很简单,可是自己把代码运行起来,可是结果并不是自己想象的那样。题目如下:class SingleTon { private st...
分类:编程语言   时间:2014-05-14 12:02:07    阅读次数:456
项目总结
4月份去实习,对此实习学习的总结 1、登录界面; 2、经验介绍内容:代码整理,重复使用代码提取。 3、单例的代码编写及使用。 4、table view expand cell; 5、字典类型,确定唯一性;     一、登录界面其实元素并不多,就是两个输入框,一个确定按钮还有一个记住密码的开关(有的不需要,自动记住密码)。要做得美观就要看ui设计了。通常有了UI设计,就使用xib文件...
分类:其他好文   时间:2014-05-13 15:57:16    阅读次数:287
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!