May 2009 - May 2017 论坛八周年-你的足迹,我的骄傲



查看: 911|回复: 0

Adharmonics Quantitative software engineer

[复制链接] |试试Instant~ |关注本帖
sumingche 发表于 2014-3-24 04:06:57 | 显示全部楼层 |阅读模式

2014(1-3月) 码农类 硕士 全职@Adharmonics - 网上海投 - 技术电面 |Other


您需要 登录 才可以下载或查看,没有帐号?获取更多干活,快来注册

Adharmonics 的Quantitative software engineer(java),大概流程是先一轮电面,再一轮online test,之后就是onsite,估计每个人题目都是一样的。

java 什么时候是pass by value/ by reference map有几种,什么时候怎么用
如何获得hashcode, hashcode如何重写,
object class有哪些方法 equals, tostring()
multithread programming,  sychronized-google 1point3acres
read/write lock的区别
如何改变最后的概率? 使用药物改变x,y染色体。

Online test

A. If you were asked to review some source code and came across the following functions, what would your comments be? A sentence or two for each is sufficient.

unsigned long factorial(unsigned long n)
   return (n == 0) ? 1 : n * factorial(n - 1);

unsigned long combinatorial(unsigned long n, unsigned long k)
鏉ユ簮涓浜.涓夊垎鍦拌鍧.    return factorial(n) / ( factorial(k) * factorial(n-k) );

B. If you could, I'd like to ask you to write a JAVA program to do the following:

1. Read an excel file (such as the attached file:  example.xls) , and put the data into a table in MySQL database.   Please design the database table first.

2. Write a simple GUI in Swing, so a user could just enter the path to the excel file, and do the things outlined in item 1 above. Note that the look and feel of the GUI is not important (as long as the functionality is there).. 鐣欏鐢宠璁哄潧-涓浜╀笁鍒嗗湴

3. Now, change the Swing application a little bit so the user could enter the path to a folder, and the application should process all excel files (i.e. file name ends with .xls) in that folder.    Please note, the folder could contain a large number of excel files with large number of rows, so you need to find a way to improve the performance of the application and GUI. - hint: multithreading






一亩三分地推荐上一条 /5 下一条

手机版|小黑屋|一亩三分地论坛声明 ( 沪ICP备11015994号 )

custom counter

GMT+8, 2017-5-30 19:37

Powered by Discuz! X3

© 2001-2013 Comsenz Inc. Design By HUXTeam

快速回复 返回顶部 返回列表