摘要:
牛客题霸刷题的时候,请你查找employees里入职员工时间排名倒数第三的员工所有信息,用到了offset的用法,第一次看到… select * from employees where hire_date = (select hire_date from employees order by hi 阅读全文
摘要:
'''编写一个函数来查找字符串数组中的最长公共前缀。如果不存在公共前缀,返回空字符串 ""。''' def longestCom(strs): pre = '' for i in zip(*strs): if len(set(i))==1: pre+=i[0] else: break return 阅读全文