09 2020 档案
摘要:we can have a split the s into string array. and we swap it. and ...
阅读全文
摘要:we can have a split the s into string array. and we swap it. and ...
阅读全文
摘要:given an integer. -±±+all the digits, get the final results. we ca...
阅读全文
摘要:given an integer. -±±+all the digits, get the final results. we ca...
阅读全文
摘要:now we are given a matrix full of positive integers. and an array ...
阅读全文
摘要:now we are given a matrix full of positive integers. and an array ...
阅读全文
摘要:given a string word, a string sequence if word only happens in seq...
阅读全文
摘要:given a string word, a string sequence if word only happens in seq...
阅读全文
摘要:we are given three array of integers. let say a, b and c c is an a...
阅读全文
摘要:we are given three array of integers. let say a, b and c c is an a...
阅读全文
摘要:given an array, for each triplet, return if it is zigzag or not, a...
阅读全文
摘要:given an array, for each triplet, return if it is zigzag or not, a...
阅读全文
摘要:given a matrix, n * m the value of each position of this matrix is...
阅读全文
摘要:given a matrix, n * m the value of each position of this matrix is...
阅读全文
摘要:given a nn matrix full of integers. now we know matrix has many la...
阅读全文
摘要:given a nn matrix full of integers. now we know matrix has many la...
阅读全文
摘要:reverse them in pair public class reverseDigitspair { public in...
阅读全文
摘要:reverse them in pair public class reverseDigitspair { public in...
阅读全文
摘要:public class justifyNewspaperText { public static final String...
阅读全文
摘要:public class justifyNewspaperText { public static final String...
阅读全文
摘要:first, sort the values in this matrix by its frequency. if there i...
阅读全文
摘要:first, sort the values in this matrix by its frequency. if there i...
阅读全文
摘要:Given two string, s and t. both consisting of lowercase letters an...
阅读全文
摘要:Given two string, s and t. both consisting of lowercase letters an...
阅读全文
摘要:given an array with all the elements are positive. check if elemen...
阅读全文
摘要:given an array with all the elements are positive. check if elemen...
阅读全文
002 给一串string 比如“I have a card”再给一个键盘char[]。 键盘里有h,a,v,e。问句子里几个字可以被键盘打出来。只有have和a可以。 然后所有标点符号都可以被打出来
摘要:get the number of words where all of its characters are in the giv...
阅读全文
002 给一串string 比如“I have a card”再给一个键盘char[]。 键盘里有h,a,v,e。问句子里几个字可以被键盘打出来。只有have和a可以。 然后所有标点符号都可以被打出来
摘要:get the number of words where all of its characters are in the giv...
阅读全文
摘要:idea: from the index1 to indexlength-2, iterate everything if arr....
阅读全文
摘要:idea: from the index1 to indexlength-2, iterate everything if arr....
阅读全文
摘要:Stack stack = new Stack() is not recommended. and Deque deque = ne...
阅读全文
摘要:Stack stack = new Stack() is not recommended. and Deque deque = ne...
阅读全文
摘要:it’s like the “merge” part in merge sort. pay attention, it is req...
阅读全文
摘要:it’s like the “merge” part in merge sort. pay attention, it is req...
阅读全文
摘要:add two linkedlist. example: Input: (2 -> 4 -> 3) + (5 -> 6 -> 4) ...
阅读全文
摘要:add two linkedlist. example: Input: (2 -> 4 -> 3) + (5 -> 6 -> 4) ...
阅读全文
摘要:another classic problem. use double direction two pointers. class ...
阅读全文
摘要:another classic problem. use double direction two pointers. class ...
阅读全文
摘要:You have an array of logs. Each log is a space delimited string of...
阅读全文
摘要:You have an array of logs. Each log is a space delimited string of...
阅读全文
摘要:Given a paragraph and a list of banned words, return the most freq...
阅读全文
摘要:Given a paragraph and a list of banned words, return the most freq...
阅读全文
摘要:classic stack problem. class Solution { public boolean isValid(...
阅读全文
摘要:classic stack problem. class Solution { public boolean isValid(...
阅读全文
摘要:Given a string, find the first non-repeating character in it and r...
阅读全文
摘要:Given a string, find the first non-repeating character in it and r...
阅读全文
摘要:essentially, this is exactly the same with Integer to Roman or Int...
阅读全文
摘要:essentially, this is exactly the same with Integer to Roman or Int...
阅读全文
摘要:Given an array containing n distinct numbers taken from 0, 1, 2, …...
阅读全文
摘要:Given an array containing n distinct numbers taken from 0, 1, 2, …...
阅读全文
摘要:given two version numbers in the format of string, if 1>2, return ...
阅读全文
摘要:given two version numbers in the format of string, if 1>2, return ...
阅读全文
摘要:given two strings, say it’s S and T. we need to find the minimum w...
阅读全文
摘要:given two strings, say it’s S and T. we need to find the minimum w...
阅读全文
摘要:given an array of strings, return a 2d array that each element in ...
阅读全文
摘要:given an array of strings, return a 2d array that each element in ...
阅读全文
摘要:Rotate a matrix clockwise, 90 degree. do it in-place. how to do it...
阅读全文
摘要:Rotate a matrix clockwise, 90 degree. do it in-place. how to do it...
阅读全文
摘要:basically, we need to implement indexOf() so this problem is actua...
阅读全文
摘要:basically, we need to implement indexOf() so this problem is actua...
阅读全文
摘要:https://www.jianshu.com/p/9f0227876b6c 但是好像只对UIButton有效 对Attribute...
阅读全文
摘要:https://www.jianshu.com/p/9f0227876b6c 但是好像只对UIButton有效 对Attribute...
阅读全文
摘要:reference: https://blog.ibireme.com/2015/11/12/smooth_user_interfa...
阅读全文
摘要:reference: https://blog.ibireme.com/2015/11/12/smooth_user_interfa...
阅读全文
摘要:now we need find the triplet in a given array. we only need to fin...
阅读全文
摘要:now we need find the triplet in a given array. we only need to fin...
阅读全文
摘要:classic sum problems. given an array may contains duplicates, retu...
阅读全文
摘要:classic sum problems. given an array may contains duplicates, retu...
阅读全文
摘要:given rules, to some kind of covert stuff. class Solution { pub...
阅读全文
摘要:given rules, to some kind of covert stuff. class Solution { pub...
阅读全文
摘要:classic water container problems. using left and right pointer. fi...
阅读全文
摘要:classic water container problems. using left and right pointer. fi...
阅读全文
摘要:convert string to integer. pay attention to the following problems...
阅读全文
摘要:convert string to integer. pay attention to the following problems...
阅读全文
摘要:we just need to return the number of that longest substring. subst...
阅读全文
摘要:we just need to return the number of that longest substring. subst...
阅读全文
摘要:https://www.zhihu.com/question/27693510 第一个回答的用户给出了九个比较详尽的指标: 作者:知...
阅读全文
摘要:https://www.zhihu.com/question/27693510 第一个回答的用户给出了九个比较详尽的指标: 作者:知...
阅读全文
摘要:https://www.zhihu.com/question/28385350 第一个回答还是给人一些启发的。 一、找到用户兴趣点 ...
阅读全文
摘要:https://www.zhihu.com/question/28385350 第一个回答还是给人一些启发的。 一、找到用户兴趣点 ...
阅读全文
摘要:https://developer.apple.com/design/human-interface-guidelines/ios/...
阅读全文
摘要:https://developer.apple.com/design/human-interface-guidelines/ios/...
阅读全文
摘要:reference: https://cdc.tencent.com/2012/06/29/%E5%A6%82%E4%BD%95%E...
阅读全文
摘要:reference: https://cdc.tencent.com/2012/06/29/%E5%A6%82%E4%BD%95%E...
阅读全文
摘要:the following two override variable are used in navigation control...
阅读全文
摘要:the following two override variable are used in navigation control...
阅读全文
摘要:refer: import Foundationclass People : NSObject{ //普通属性 var ...
阅读全文
摘要:refer: import Foundationclass People : NSObject{ //普通属性 var ...
阅读全文

浙公网安备 33010602011771号