原文链接: https://leetcode-cn.com/problems/majority-element
英文原文Given an array nums of size n, return the majority element
标签详情
计数 分类
原文链接: https://leetcode-cn.com/problems/majority-element-ii
英文原文Given an integer array of size n, find all elements tha
原文链接: https://leetcode-cn.com/problems/bulls-and-cows
英文原文You are playing the Bulls and Cows game with your friend.
Y
原文链接: https://leetcode-cn.com/problems/top-k-frequent-elements
英文原文Given an integer array nums and an integer k, retur
原文链接: https://leetcode-cn.com/problems/ransom-note
英文原文Given two stings ransomNote and magazine, return true if ransom
原文链接: https://leetcode-cn.com/problems/first-unique-character-in-a-string
英文原文Given a string s, find the first non-rep
原文链接: https://leetcode-cn.com/problems/sort-characters-by-frequency
英文原文Given a string s, sort it in decreasing order
原文链接: https://leetcode-cn.com/problems/task-scheduler
英文原文Given a characters array tasks, representing the tasks a CPU
原文链接: https://leetcode-cn.com/problems/top-k-frequent-words
英文原文Given an array of strings words and an integer k, retu
原文链接: https://leetcode-cn.com/problems/reorganize-string
英文原文Given a string s, rearrange the characters of s so that a
1 / 6