测试之家
  • Topics
  • QA
  • 招聘
  • 社区学堂新
  • 开源项目
  • 活动
  • Wiki
  • Sign Up
  • Sign In
新手
wikeex
第 40713 位Users / 2019-01-19
0 篇帖子 • 1 条回帖
0 关注者
0 正在关注
0 收藏
GitHub Public Repos
  • BestPriceServer 7

    在什么值得买网站上查询已关注商品的价格,商品价格在一段时间内达到最低就通过微信发送通知

  • tello-python 3

    官方python接口的改进。

  • SuperMario 0

  • testify 0

    A toolkit with common assertions and mocks that plays nicely with the standard library

  • twint 0

    An advanced Twitter scraping & OSINT tool written in Python that doesn't use Twitter's API, allow...

  • PytorchTutorials 0

    记录pytorch学习代码

  • Chameleon 0

  • mixer 0

    Mixer -- Is a fixtures replacement. Supported Django, Flask, SqlAlchemy and custom python objects.

  • HomeRover 0

  • TestBuilder 0

More on GitHub
  • 个人信息
  • 专栏
  • 话题
  • 回帖
  • 收藏
  • 关注中
  • 关注者
  • 面试题:从长度为 1 万的有序且有重复数字的列表找出第一个 0 前面的一位数字和最后一个 0 后面的一个数字,例如 [...,-1,0,0,0,6,...] 打印-1 和 6,谢谢。 at January 19, 2019

    这种题目我特别喜欢把 list 转换成 str 来处理

    def fun(num_list):
      num_str = ''.join(num_list)
      first_index = num_str.index('0')-1
      second_index = num_str[::-1].index('0')-1
      print(num_str[first_index], num_str[::-1][second_index])
    
关于 / 活跃用户 / 中国移动互联网测试技术大会 / 反馈 / Github / API / 帮助推广
TesterHome社区,测试之家,由众多测试工程师组织和维护的技术社区,致力于帮助新人成长,提高测试地位,推进质量发展。Inspired by RubyChina
友情链接 WeTest腾讯质量开放平台 / InfoQ / 掘金 / SegmentFault / 测试窝 / 百度测试吧 / IT大咖说
简体中文 / 正體中文 / English

©testerhome.com 测试之家   渝ICP备2022001292号
  渝公网安备 50022202000435号    版权所有 © 重庆年云聚力信息技术有限公司