Top Stories published by Leetcode 演算法教學 in 2019
January
February
March
April
May
June
July
August

[048] LeetCode 169演算法【Majority Element】 求多數元素

169. Majority Element (Easy)

Given an array of size n, find the majority element. The majority element is the element that appears more than ⌊ n/2 ⌋ times.


[004]LeetCode 28 實現strstr()

028. Implement strStr()(Easy)

Implement strStr().

Return the index of the first occurrence of needle in haystack, or -1 if needle is not part of haystack.

These were the top 10 stories published by Leetcode 演算法教學 in 2019. You can also dive into monthly archives for 2019 by using the calendar at the top of this page.

About
Leetcode 演算法教學
Fix all leetcode problems
More information
Tags
Editors
Writers