分类:LeetCode
Write a program that outputs the string representation […]
Calculate the sum of two integers a and b, but you are […]
According to the Wikipedia’s article: “ […]
Write an algorithm to determine if a number is “h […]
模拟实现LRU算法
Write an efficient algorithm that searches for a value […]
Given an array of size n, find the majority element. Th […]
Given a linked list, reverse the nodes of a linked list […]
Given a string s1, we may represent it as a binary tree […]
Write a program to find the node at which the intersect […]
Given a linked list, return the node where the cycle be […]
Given a linked list, determine if it has a cycle in it. […]
Remove all elements from a linked list of integers that […]
Given two words word1 and word2, find the minimum numbe […]
You are climbing a stair case. It takes n steps to reac […]