📣 黑五网一特惠|VIP一年通行证5折,蓝莓、Offer多多同步特惠
回复: 13
跳转到指定楼层
上一主题 下一主题
收起左侧

Cisco 思科 SDE2 Intern oa 2024,求米!!!!!!

 
全局:

2023(4-6月) 码农类General 本科 实习@cisco - 网上海投 - 技术电面  | 😃 Positive 🙂 Easy | Other | 应届毕业生

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

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

x
如果有帮助真的求米!!!!不会消耗你的米

很简单的OA题,一共3个,考一个半小时。

第一题:
Write an algorithm which finds out the elements which are largest in a row and smallest in a column in a matrix.
Input
The first line of input consists of two space-separated integersmatrix_row and matrix_col, representing the number of rows in the matrix (N) and the number of columns in the matrix (M), respectively.The next M lines consist of N spaceseparated integers representing the elements of the matrix.
Output
Print a number which is largest in a row and smallest in a column in the given matrix. If no element is found print '-1'.
Example
Input:
2 2
1 2
3 4
Output:
2
Explanation:
The number 2 at index (0,1) is the largest in its row and smallest in its column. So, the output is 2.
你需要完成:
"""
matrix, represents the elements of the matrix of size N*M.
"""
def funcMatrix(matrix):
# Write your code here


return
def main():
#input for matrix
matrix = []
matrix_rows,matrix_cols  = map(int, input(
您好!
本帖隐藏的内容需要积分高于 188 才可浏览
您当前积分为 0。
使用VIP即刻解锁阅读权限或查看其他获取积分的方式
游客,您好!
本帖隐藏的内容需要积分高于 188 才可浏览
您当前积分为 0。
VIP即刻解锁阅读权限 或 查看其他获取积分的方式
Unlock interview details and practice with AI
Popular Interview Questions from Top Companies
is not found anywhere in the grid.So, the output is ["Yes", "Yes", "Yes", "No"].
完成下列的代码
"""
grid, represents the letters in the grid of size N*M.
word, represents the words to be searched of size K.
"""
def funcPuzzle(grid, word):
# Write your code here
return
def main():
#input for grid
grid = []
grid_rows,grid_cols  = map(int, input().split())
for idx in range(grid_rows):
  grid.append(list(map(str, input().split())))
#input for word
word = []
word_size  = int(input())
word = list(map(str,input().split()))
result = funcPuzzle(grid, word)
print(result)       
if __name__ == "__main__":
main()

如果有帮助真的求米!!!!不会消耗你的米

评分

参与人数 21大米 +31 收起 理由
微信用户_0kwv3 + 1 赞一个
Stella要远行 + 1 赞一个
Qiker + 1 赞一个
winndyxu_ + 1 很有用的信息!
bran951 + 2 很有用的信息!

查看全部评分


上一篇:Belvedere Trading 24 swe intern OA
下一篇:Belvedere Trading SDE NG 2024 OA 求米!!!!!
推荐
作乐 2023-8-11 02:28:40 | 只看该作者
全局:
请问楼主Cisco sponsor吗
回复

使用道具 举报

推荐
mrn3088 2023-8-14 12:33:18 | 只看该作者
全局:
没米回复支持一下
回复

使用道具 举报

地里匿名用户
推荐
匿名用户-UNBMT  2023-8-10 23:44:55
谢谢楼主分享!!!
回复

使用道具 举报

🔗
 楼主| 微信用户_eb25074 2023-8-11 08:26:17 来自APP | 只看该作者
全局:
匿名用户 发表于 2023-08-10 08:44:55
谢谢楼主分享!!!
那可以点个大米么😘
回复

使用道具 举报

🔗
 楼主| 微信用户_eb25074 2023-8-11 08:26:32 来自APP | 只看该作者
全局:
作乐 发表于 2023-08-10 11:28:40
请问楼主Cisco sponsor吗
听说sponsor
回复

使用道具 举报

地里匿名用户
🔗
匿名用户-UNBMT  2023-8-11 12:01:01
谢谢分享!
回复

使用道具 举报

🔗
 楼主| 微信用户_eb25074 2023-8-11 12:54:52 来自APP | 只看该作者
全局:
那可以点个米么😘
回复

使用道具 举报

全局:
请问投了多久之后收到的oa
回复

使用道具 举报

🔗
 楼主| 微信用户_eb25074 2023-8-12 17:44:28 来自APP | 只看该作者
全局:
微信用户_97f3890 发表于 2023-08-11 22:42:43
请问投了多久之后收到的oa
当天
zszszs
回复

使用道具 举报

全局:
感谢🙏 edu邮箱投了之后没收到 估计是edu邮箱的问题😿
回复

使用道具 举报

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

本版积分规则

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