摘要: Problem Statement Given an array of size n, find the majority element. The majority element is the element that appears more than ⌊ n/2 ⌋ times. You m 阅读全文
posted @ 2019-12-17 12:12 包子模拟面试 阅读(197) 评论(0) 推荐(0) 编辑
摘要: Problem Statement The string "PAYPALISHIRING" is written in a zigzag pattern on a given number of rows like this: (you may want to display this patter 阅读全文
posted @ 2019-12-17 06:13 包子模拟面试 阅读(220) 评论(0) 推荐(0) 编辑