Given two strings s and t which consist of only lowercase letters.

String t is generated by random shuffling string s and then add one more letter[……]

Skip to content
# Month: September 2020

## LeetCode Find the Difference

## LeetCode Subarray Product Less Than K

## LeetCode Majority Element II

## LeetCode Teemo Attacking Solution

## LeetCode Robot Bounded In Circle

## LeetCode Sequential Digits

## LeetCode Compare Version Numbers Solution

## LeetCode Sum of Root To Leaf Binary Numbers

Gerry的博客

Given two strings s and t which consist of only lowercase letters.

String t is generated by random shuffling string s and then add one more letter[……]

our are given an array of positive integers nums.

Count and print the number of (contiguous) subarrays where the product of all the elements in the[……]

Given an integer array of size n, find all elements that appear more than ⌊ n/3 ⌋ times.

Follow-up: Could you solve the problem in linear time and[……]

In LOL world, there is a hero called Teemo and his attacking can make his enemy Ashe be in poisoned condition. Now, given the Teemo’s attacking ascend[……]

On an infinite plane, a robot initially stands at (0, 0) and faces north. The robot can receive one of three instructions:

“G”: go straight 1 unit[……]

An integer has sequential digits if and only if each digit in the number is one more than the previous digit.

Return a sorted list of all the integ[……]

Given two version numbers, version1 and version2, compare them.

Version numbers consist of one or more revisions joined by a dot ‘.’. Each revision[……]

You are given the root of a binary tree where each node has a value 0 or 1. Each root-to-leaf path represents a binary number starting with the most[……]