随笔分类 - leetcode
摘要:1、题目Given a positive integer num, write a function which returns True if num is a perfect square else False.Note: Do not use any built...
阅读全文
摘要:1、题目Given a pattern and a string str, find if str follows the same pattern.Here follow means a full match, such that there is a biject...
阅读全文
摘要:1、题目Merge two sorted linked lists and return it as a new list. The new list should be made by splicing together the nodes of the first...
阅读全文
摘要:1、题目Given a string containing just the characters '(', ')', '{', '}', '[' and ']', determine if the input string is valid.An input str...
阅读全文
摘要:1、题目Given an array of integers, return indices of the two numbers such that they add up to a specific target.You may assume that each ...
阅读全文

浙公网安备 33010602011771号