回复: 0
跳转到指定楼层
上一主题 下一主题
收起左侧

CircleUp OA

全局:

2015(1-3月) 码农类General 硕士 全职@CircleUp - 网上海投 - 在线笔试  | | Fail |
CircleUp 小公司 可以練練手

不熟悉front-end的Q3, 所以Fail

1. Palindromic Numbers

How many palindromic numbers [] are there in the set of numbers representable by a 16 bit unsigned integer [0..65535] ?

Send back both the number and the code you used to calculate it. You can use any programming language.


2. Cellular Automata

We will write a command-line console application that prints output that resembles a simple cellular automata.

Each line of the program’s output represents a row of 64 boolean values. True should be printed as an asterisk ( * ) and False should be printed as a hyphen ( - ). So each line of output should be 64 characters of asterisks or hyphens, followed by a newline.  Use the following rules to determine the values in the rows:
- The initial row of booleans should be all False, except for one True roughly in the middle (in the 32nd position; so it should be 31 Falses, followed by one True, followed by 32 Falses).
Each subsequent row of booleans will depend on the one immediately before it. Each new row should be calculated using this rule:
- The value for a given position in the new row should be True if in the previous row, either the position immediately to the left or immediately to the right was True, but not both. Otherwise it is False.


Print out 32 lines worth of output total using these rules. Include the output as well as the code.



3. Frontend / DOM Programming:

a. Create the following layout in HTML/CSS: (it’s a “C” for CircleUp with a green “glint” in the corner)
White boxes are 100px by 100px, green box is 24px by 24px. Don’t worry too much about exact margins / sizing, but it should resemble the image.

b. Write jQuery / javascript so that clicking the large white boxes turns them blue (ignore the little green box). After the last one has been clicked, the green box should turn red and the blue boxes should start “undoing” their blu
您好!
本帖隐藏的内容需要积分高于 188 才可浏览
您当前积分为 0。
使用VIP即刻解锁阅读权限或查看其他获取积分的方式
游客,您好!
本帖隐藏的内容需要积分高于 188 才可浏览
您当前积分为 0。
VIP即刻解锁阅读权限查看其他获取积分的方式
Unlock interview details and practice with AI
Curated Interview Questions from Top Companies
(18, 9, 'ABCDE');
insert into books (id, author_id, title) values (19, 10, 'ABCDE');
insert into books (id, author_id, title) values (20, 10, 'ABCDEF');
insert into books (id, author_id, title) values (21, 9, 'ABCDEF');
insert into books (id, author_id, title) values (22, 8, 'ABCDEF');
insert into books (id, author_id, title) values (23, 7, 'ABCDEF');
insert into books (id, author_id, title) values (24, 3, 'ABCD');

Copy/paste the above into , and then write a SQL query that will return:
  • author ID
  • author first name
  • author last name
  • count of written books

For all authors with last name ‘Smith’. The results should include authors that have not written any books (with count “0”).


Send back the SQL or a link to sqlfiddle.


提供1, 3, 4解答

本帖子中包含更多资源

您需要 登录 才可以下载或查看附件。没有帐号?注册账号

x

评分

参与人数 4大米 +116 收起 理由
中庸人90 + 5 感谢分享!
ekco + 3 感谢分享!
robend + 105
ndhuanhuan + 3 感谢分享!

查看全部评分


上一篇:刚昨晚的epic oa
下一篇:地里少之又少的snapchat onsite面经
您需要登录后才可以回帖 登录 | 注册账号
隐私提醒:
  • ☑ 禁止发布广告,拉群,贴个人联系方式:找人请去🔗同学同事飞友,拉群请去🔗拉群结伴,广告请去🔗跳蚤市场,和 🔗租房广告|找室友
  • ☑ 论坛内容在发帖 30 分钟内可以编辑,过后则不能删帖。为防止被骚扰甚至人肉,不要公开留微信等联系方式,如有需求请以论坛私信方式发送。
  • ☑ 干货版块可免费使用 🔗超级匿名:面经(美国面经、中国面经、数科面经、PM面经),抖包袱(美国、中国)和录取汇报、定位选校版
  • ☑ 查阅全站 🔗各种匿名方法

本版积分规则

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