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

丢盒子 店面 面筋 应该是黄了

全局:

2018(7-9月) 码农类General 硕士 全职@dropbox - 内推 - 技术电面  | | Fail | 在职跳槽

注册一亩三分地论坛,查看更多干货!

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

x
帮朋友贡献一个新鲜, 丢盒子 店面面经
直接贴过来了。他没有地里账户。
如下:
题没在面经里见过。结果还没出来但是肯定是跪了。
问了内推的朋友 说估计是新题,他也没见过

没怎么听懂题意。
大概就是有个nasa 望远镜系统跟他们合作。然后要按坐标
您好!
本帖隐藏的内容需要积分高于 188 才可浏览
您当前积分为 0。
使用VIP即刻解锁阅读权限或查看其他获取积分的方式
游客,您好!
本帖隐藏的内容需要积分高于 188 才可浏览
您当前积分为 0。
VIP即刻解锁阅读权限 或 查看其他获取积分的方式
Unlock interview details and practice with AI
Popular Interview Questions from Top Companies
nkedHashMap
每次把队尾的node拉到最前,就是更新了。但他问我有啥潜在的问题

想了半天也没想出来,不是多线程,他说单线程。



上一篇:高盛新鲜出炉面经
下一篇:阿雷克萨昂赛跪经
🔗
fernando 2018-8-29 08:39:24 | 只看该作者
全局:
没事 LZ 再等等。我当时等了一周没信儿,觉得跪了就没催。后来过了一个月 人打电话来说 约个时间 onsite。
回复

使用道具 举报

🔗
xiaoyujiang 2018-9-11 13:24:01 | 只看该作者
全局:
  1. import java.io.*;
  2. import java.util.*;
  3. . 牛人云集,一亩三分地
  4. /**. 留学申请论坛-一亩三分地
  5. * NASA selects Dropbox as its official partner, and we’re tasked with managing
  6. * a panorama for the universe. The Hubble telescope (or some other voyager we . Waral 博客有更多文章,
  7. * have out there) will occasionally snap a photo of a sector of the universe, . from: 1point3acres
  8. * and transmit it to us. You are to help write a data structure to manage this.
  9. * For the purpose of this problem, assume that the observable universe has been
  10. * divided into 2D sectors. Sectors are indexed by x- and y-coordinates.
  11. */
  12. public File {
  13.     public File(String path) {}
  14.     public Boolean exists() {}
  15.     public byte[] read() {}
  16.     public void write(bytes[] bytes) {}
  17. }

  18. public Image {
  19.     public Image(byte[] bytes) {}
  20.     byte[] getBytes() {} // no more than 1MB in size. more info on 1point3acres
  21. }
  22. .本文原创自1point3acres论坛
  23. public Sector { 来源一亩.三分地论坛.
  24.     public Sector(int x, int y) {}
  25.     int getX() {}
  26.     int getY() {}
  27. }

  28. /**
  29. * row-major indexing to be consistent.
  30. */
  31. public class SpacePanorama {
  32.     /**
  33.      * initializes the data structure. rows x cols is the sector layout.
  34.      * width, height can be as large as 1K each.
  35.      */
  36.     public SpacePanorama(int rows, int cols) {}

  37. . 围观我们[url=home.php?mod=space&uid=306102]@1point[/url] 3 acres    /**
  38.      * The Hubble will occasionally call this (via some radio wave communication)
  39.      * to report new imagery for the sector at (y, x)
  40.      * Images can be up to 1MB in size.
  41.      */
  42.     public void update(int y, int x, Image image) {}

  43.     /**
  44.      * NASA will occasionally call this to check the view of a particular sector.
  45.      */
  46.     public Image fetch(int y, int x) {}

  47.     /**
  48.      * return the 2D index of the sector that has the stalest data.
  49.      * the idea is that this may help the telescope decide where to aim next.
  50.      */
  51.     public Sector getStalestSector() {}
  52. }
复制代码


好像是这题,楼主能再结合这个给的讲讲不?
回复

使用道具 举报

全局:
xiaoyujiang 发表于 2018-9-11 13:24
[mw_shl_code=bash,true]import java.io.*;
import java.util.*;
. 牛人云集,一亩三分地

请问层主在哪找到这道题的啊?
回复

使用道具 举报

🔗
xiaoyujiang 2018-9-12 11:08:51 | 只看该作者
全局:
Roc1mu3fen 发表于 2018-9-12 10:17
请问层主在哪找到这道题的啊?

一篇地里面经
回复

使用道具 举报

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

本版积分规则

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