类别归档:LeetCode

LeetCode OJ is a platform for preparing technical coding interviews.

RSS feed of LeetCode

[LeetCode]Single Element in a Sorted Array

题目描述:

LeetCode 540. Single Element in a Sorted Array

Given a sorted array consisting of only integers where every element appears twice except for one element which appears once. Find this single element that appears only once.

Example 1:

Input ...

继续阅读

LeetCode Weekly Contest 22解题报告

LeetCode Weekly Contest 22是LeetCode举办的第二十七场正式周赛,共4道题目,比赛时长1.5小时。

比赛链接:https://leetcode.com/contest/leetcode-weekly-contest-22/

题解列表:

LeetCode 532. K-diff Pairs in an Array

LeetCode 531. Lonely Pixel I

LeetCode 533. Lonely Pixel II

LeetCode 514. Freedom Trail