摘要:
Suppose that a website contains two tables, the Customers table and the Orders table. Write a SQL query to find all customers who never order anything 阅读全文
阅读排行榜
[LeetCode] 496. Next Greater Element I_Easy tag: Stack
2018-08-18 05:44 by Johnson_强生仔仔, 193 阅读, 收藏,
摘要:
You are given two arrays (without duplicates) nums1 and nums2 where nums1’s elements are subset of nums2. Find all the next greater numbers for nums1' 阅读全文
[LeetCode] 796. Rotate String_Easy **KMP
2018-08-17 10:40 by Johnson_强生仔仔, 193 阅读, 收藏,
摘要:
We are given two strings, A and B. A shift on A consists of taking string A and moving the leftmost character to the rightmost position. For example, 阅读全文
[LeetCode] 100. Same Tree_Easy tag: DFS
2018-08-07 04:31 by Johnson_强生仔仔, 193 阅读, 收藏,
摘要:
Given two binary trees, write a function to check if they are the same or not. Two binary trees are considered the same if they are structurally ident 阅读全文
[LeetCode] 345. Reverse Vowels of a String_Easy tag:Two Pointers
2018-08-17 03:37 by Johnson_强生仔仔, 192 阅读, 收藏,
摘要:
Write a function that takes a string as input and reverse only the vowels of a string. Example 1: Example 2: Input: "leetcode" Output: "leotcede" Exam 阅读全文
浙公网安备 33010602011771号