📣 Back to School开学季 - VIP通行证5折优惠!蓝莓、Offer多多同步优惠
回复: 2
跳转到指定楼层
上一主题 下一主题
收起左侧

亚马逊(国内)笔试题

全局:

2022(7-9月) 码农类General 博士 全职@amazon - 网上海投 - 在线笔试  | WaitList | 应届毕业生

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

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

x
我投的国内的亚麻,笔试一共2题,做的时候显示accept,但是目前仍无进展,也没有收到拒信。求大米,谢谢!
第一题:
Your team at Amazon has recently adopted a new password validation scheme for internal user accounts.
A password consists of lowercase English letters only and is valid only if it contains at least one vowel and at least one consonant. Vowels are the characters 'a','e','i','o','u'. The rest are consonants. The strength of a password is defined as the maximum number of contiguous subsegments the entire password can be devided into such that each subsegment us a valid password.
. 1point3acres.com Given a pasword string, find its strength. Return 0 if the password itself is not valid.
Note: a subsegment of a string is a segment composed of contiguous characters of the original string, taken in the same order.
Example:
password="hackerrank"
output:3



第二题:. 1point 3acres
The Amazon Kindle Store is an online e-book store where readers can choose a book from a wide range of categories. It also provides the ability to bookmark pages the user wishes to return later. A book is represented as a binary string having two types of pages:. 1point 3 acres
(1) '0': an ordinary page
(2)'1': a bookmarked page
Find the number of ways to select 3 pages in ascending index order such that no two adjacent selected pages are of the same type..--
Example:
book:'01001'
The following sequences of pages match the criterion:
[1,2,3],[1,2,4],[2,3,5],[2,4,5]
The answer is 4.

评分

参与人数 2大米 +12 收起 理由
匿名用户-GOGP0 + 11
the-imp + 1 赞一个

查看全部评分


上一篇:数据库八股文整理
下一篇:字节tiktok内容推荐一二三面
🔗
summer12138 2022-9-16 16:54:49 | 只看该作者
全局:
姐妹 想麻烦问一下 有题目嘛. .и

补充内容 (2022-09-16 16:55 +8:00):
抱歉说错了 是有面试题库嘛 你面得两轮就只有这两道题嘛

补充内容 (2022-09-16 16:56 +8:00):
抱歉写错了 是题库~姐妹你两轮面试就这两道题嘛~
回复

使用道具 举报

🔗
 楼主| river_horse 2022-9-16 17:11:29 | 只看该作者
全局:
summer12138 发表于 2022-9-16 16:54
姐妹 想麻烦问一下 有题目嘛
. From 1point 3acres bbs
补充内容 (2022-09-16 16:55 +8:00):

我这个是笔试,题目就这两题,另外编程完之后需要写这两题的解题思路。面试我还没收到,也不知道是啥情况~
回复

使用道具 举报

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

本版积分规则

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