09 2020 档案

摘要:we can have a split the s into string array. and we swap it. and ... 阅读全文
posted @ 2020-09-29 12:20 EvanMeetTheWorld 阅读(8) 评论(0) 推荐(0)
摘要:we can have a split the s into string array. and we swap it. and ... 阅读全文
posted @ 2020-09-29 12:20 EvanMeetTheWorld 阅读(8) 评论(0) 推荐(0)
摘要:given an integer. -±±+all the digits, get the final results. we ca... 阅读全文
posted @ 2020-09-29 12:04 EvanMeetTheWorld 阅读(11) 评论(0) 推荐(0)
摘要:given an integer. -±±+all the digits, get the final results. we ca... 阅读全文
posted @ 2020-09-29 12:04 EvanMeetTheWorld 阅读(17) 评论(0) 推荐(0)
摘要:now we are given a matrix full of positive integers. and an array ... 阅读全文
posted @ 2020-09-29 11:58 EvanMeetTheWorld 阅读(18) 评论(0) 推荐(0)
摘要:now we are given a matrix full of positive integers. and an array ... 阅读全文
posted @ 2020-09-29 11:58 EvanMeetTheWorld 阅读(13) 评论(0) 推荐(0)
摘要:given a string word, a string sequence if word only happens in seq... 阅读全文
posted @ 2020-09-29 11:34 EvanMeetTheWorld 阅读(25) 评论(0) 推荐(0)
摘要:given a string word, a string sequence if word only happens in seq... 阅读全文
posted @ 2020-09-29 11:34 EvanMeetTheWorld 阅读(16) 评论(0) 推荐(0)
摘要:we are given three array of integers. let say a, b and c c is an a... 阅读全文
posted @ 2020-09-29 10:44 EvanMeetTheWorld 阅读(39) 评论(0) 推荐(0)
摘要:we are given three array of integers. let say a, b and c c is an a... 阅读全文
posted @ 2020-09-29 10:44 EvanMeetTheWorld 阅读(24) 评论(0) 推荐(0)
摘要:given an array, for each triplet, return if it is zigzag or not, a... 阅读全文
posted @ 2020-09-29 09:16 EvanMeetTheWorld 阅读(12) 评论(0) 推荐(0)
摘要:given an array, for each triplet, return if it is zigzag or not, a... 阅读全文
posted @ 2020-09-29 09:16 EvanMeetTheWorld 阅读(20) 评论(0) 推荐(0)
摘要:given a matrix, n * m the value of each position of this matrix is... 阅读全文
posted @ 2020-09-29 08:33 EvanMeetTheWorld 阅读(23) 评论(0) 推荐(0)
摘要:given a matrix, n * m the value of each position of this matrix is... 阅读全文
posted @ 2020-09-29 08:33 EvanMeetTheWorld 阅读(20) 评论(0) 推荐(0)
摘要:given a nn matrix full of integers. now we know matrix has many la... 阅读全文
posted @ 2020-09-29 05:53 EvanMeetTheWorld 阅读(18) 评论(0) 推荐(0)
摘要:given a nn matrix full of integers. now we know matrix has many la... 阅读全文
posted @ 2020-09-29 05:53 EvanMeetTheWorld 阅读(16) 评论(0) 推荐(0)
摘要:reverse them in pair public class reverseDigitspair { public in... 阅读全文
posted @ 2020-09-29 05:36 EvanMeetTheWorld 阅读(14) 评论(0) 推荐(0)
摘要:reverse them in pair public class reverseDigitspair { public in... 阅读全文
posted @ 2020-09-29 05:36 EvanMeetTheWorld 阅读(14) 评论(0) 推荐(0)
摘要:public class justifyNewspaperText { public static final String... 阅读全文
posted @ 2020-09-29 05:16 EvanMeetTheWorld 阅读(17) 评论(0) 推荐(0)
摘要:public class justifyNewspaperText { public static final String... 阅读全文
posted @ 2020-09-29 05:16 EvanMeetTheWorld 阅读(20) 评论(0) 推荐(0)
摘要:first, sort the values in this matrix by its frequency. if there i... 阅读全文
posted @ 2020-09-28 05:39 EvanMeetTheWorld 阅读(13) 评论(0) 推荐(0)
摘要:first, sort the values in this matrix by its frequency. if there i... 阅读全文
posted @ 2020-09-28 05:39 EvanMeetTheWorld 阅读(25) 评论(0) 推荐(0)
摘要:Given two string, s and t. both consisting of lowercase letters an... 阅读全文
posted @ 2020-09-28 05:03 EvanMeetTheWorld 阅读(27) 评论(0) 推荐(0)
摘要:Given two string, s and t. both consisting of lowercase letters an... 阅读全文
posted @ 2020-09-28 05:03 EvanMeetTheWorld 阅读(18) 评论(0) 推荐(0)
摘要:given an array with all the elements are positive. check if elemen... 阅读全文
posted @ 2020-09-28 04:35 EvanMeetTheWorld 阅读(12) 评论(0) 推荐(0)
摘要:given an array with all the elements are positive. check if elemen... 阅读全文
posted @ 2020-09-28 04:35 EvanMeetTheWorld 阅读(8) 评论(0) 推荐(0)
摘要:idea: from the index1 to indexlength-2, iterate everything if arr.... 阅读全文
posted @ 2020-09-28 04:00 EvanMeetTheWorld 阅读(30) 评论(0) 推荐(0)
摘要:idea: from the index1 to indexlength-2, iterate everything if arr.... 阅读全文
posted @ 2020-09-28 04:00 EvanMeetTheWorld 阅读(15) 评论(0) 推荐(0)
摘要:Stack stack = new Stack() is not recommended. and Deque deque = ne... 阅读全文
posted @ 2020-09-14 01:27 EvanMeetTheWorld 阅读(18) 评论(0) 推荐(0)
摘要:Stack stack = new Stack() is not recommended. and Deque deque = ne... 阅读全文
posted @ 2020-09-14 01:27 EvanMeetTheWorld 阅读(14) 评论(0) 推荐(0)
摘要:it’s like the “merge” part in merge sort. pay attention, it is req... 阅读全文
posted @ 2020-09-14 00:14 EvanMeetTheWorld 阅读(14) 评论(0) 推荐(0)
摘要:it’s like the “merge” part in merge sort. pay attention, it is req... 阅读全文
posted @ 2020-09-14 00:14 EvanMeetTheWorld 阅读(20) 评论(0) 推荐(0)
摘要:add two linkedlist. example: Input: (2 -> 4 -> 3) + (5 -> 6 -> 4) ... 阅读全文
posted @ 2020-09-13 23:29 EvanMeetTheWorld 阅读(8) 评论(0) 推荐(0)
摘要:add two linkedlist. example: Input: (2 -> 4 -> 3) + (5 -> 6 -> 4) ... 阅读全文
posted @ 2020-09-13 23:29 EvanMeetTheWorld 阅读(10) 评论(0) 推荐(0)
摘要:another classic problem. use double direction two pointers. class ... 阅读全文
posted @ 2020-09-13 23:00 EvanMeetTheWorld 阅读(17) 评论(0) 推荐(0)
摘要:another classic problem. use double direction two pointers. class ... 阅读全文
posted @ 2020-09-13 23:00 EvanMeetTheWorld 阅读(16) 评论(0) 推荐(0)
摘要:You have an array of logs. Each log is a space delimited string of... 阅读全文
posted @ 2020-09-13 09:57 EvanMeetTheWorld 阅读(17) 评论(0) 推荐(0)
摘要:You have an array of logs. Each log is a space delimited string of... 阅读全文
posted @ 2020-09-13 09:57 EvanMeetTheWorld 阅读(19) 评论(0) 推荐(0)
摘要:Given a paragraph and a list of banned words, return the most freq... 阅读全文
posted @ 2020-09-13 09:20 EvanMeetTheWorld 阅读(37) 评论(0) 推荐(0)
摘要:Given a paragraph and a list of banned words, return the most freq... 阅读全文
posted @ 2020-09-13 09:20 EvanMeetTheWorld 阅读(19) 评论(0) 推荐(0)
摘要:classic stack problem. class Solution { public boolean isValid(... 阅读全文
posted @ 2020-09-13 01:15 EvanMeetTheWorld 阅读(13) 评论(0) 推荐(0)
摘要:classic stack problem. class Solution { public boolean isValid(... 阅读全文
posted @ 2020-09-13 01:15 EvanMeetTheWorld 阅读(17) 评论(0) 推荐(0)
摘要:Given a string, find the first non-repeating character in it and r... 阅读全文
posted @ 2020-09-13 00:46 EvanMeetTheWorld 阅读(5) 评论(0) 推荐(0)
摘要:Given a string, find the first non-repeating character in it and r... 阅读全文
posted @ 2020-09-13 00:46 EvanMeetTheWorld 阅读(13) 评论(0) 推荐(0)
摘要:essentially, this is exactly the same with Integer to Roman or Int... 阅读全文
posted @ 2020-09-13 00:13 EvanMeetTheWorld 阅读(12) 评论(0) 推荐(0)
摘要:essentially, this is exactly the same with Integer to Roman or Int... 阅读全文
posted @ 2020-09-13 00:13 EvanMeetTheWorld 阅读(22) 评论(0) 推荐(0)
摘要:Given an array containing n distinct numbers taken from 0, 1, 2, …... 阅读全文
posted @ 2020-09-12 23:54 EvanMeetTheWorld 阅读(18) 评论(0) 推荐(0)
摘要:Given an array containing n distinct numbers taken from 0, 1, 2, …... 阅读全文
posted @ 2020-09-12 23:54 EvanMeetTheWorld 阅读(22) 评论(0) 推荐(0)
摘要:given two version numbers in the format of string, if 1>2, return ... 阅读全文
posted @ 2020-09-12 12:21 EvanMeetTheWorld 阅读(16) 评论(0) 推荐(0)
摘要:given two version numbers in the format of string, if 1>2, return ... 阅读全文
posted @ 2020-09-12 12:21 EvanMeetTheWorld 阅读(15) 评论(0) 推荐(0)
摘要:given two strings, say it’s S and T. we need to find the minimum w... 阅读全文
posted @ 2020-09-12 11:27 EvanMeetTheWorld 阅读(13) 评论(0) 推荐(0)
摘要:given two strings, say it’s S and T. we need to find the minimum w... 阅读全文
posted @ 2020-09-12 11:27 EvanMeetTheWorld 阅读(21) 评论(0) 推荐(0)
摘要:given an array of strings, return a 2d array that each element in ... 阅读全文
posted @ 2020-09-12 01:15 EvanMeetTheWorld 阅读(23) 评论(0) 推荐(0)
摘要:given an array of strings, return a 2d array that each element in ... 阅读全文
posted @ 2020-09-12 01:15 EvanMeetTheWorld 阅读(19) 评论(0) 推荐(0)
摘要:Rotate a matrix clockwise, 90 degree. do it in-place. how to do it... 阅读全文
posted @ 2020-09-11 11:13 EvanMeetTheWorld 阅读(20) 评论(0) 推荐(0)
摘要:Rotate a matrix clockwise, 90 degree. do it in-place. how to do it... 阅读全文
posted @ 2020-09-11 11:13 EvanMeetTheWorld 阅读(20) 评论(0) 推荐(0)
摘要:basically, we need to implement indexOf() so this problem is actua... 阅读全文
posted @ 2020-09-11 10:47 EvanMeetTheWorld 阅读(21) 评论(0) 推荐(0)
摘要:basically, we need to implement indexOf() so this problem is actua... 阅读全文
posted @ 2020-09-11 10:47 EvanMeetTheWorld 阅读(12) 评论(0) 推荐(0)
摘要:https://www.jianshu.com/p/9f0227876b6c 但是好像只对UIButton有效 对Attribute... 阅读全文
posted @ 2020-09-09 08:45 EvanMeetTheWorld 阅读(29) 评论(0) 推荐(0)
摘要:https://www.jianshu.com/p/9f0227876b6c 但是好像只对UIButton有效 对Attribute... 阅读全文
posted @ 2020-09-09 08:45 EvanMeetTheWorld 阅读(14) 评论(0) 推荐(0)
摘要:reference: https://blog.ibireme.com/2015/11/12/smooth_user_interfa... 阅读全文
posted @ 2020-09-09 01:02 EvanMeetTheWorld 阅读(25) 评论(0) 推荐(0)
摘要:reference: https://blog.ibireme.com/2015/11/12/smooth_user_interfa... 阅读全文
posted @ 2020-09-09 01:02 EvanMeetTheWorld 阅读(19) 评论(0) 推荐(0)
摘要:now we need find the triplet in a given array. we only need to fin... 阅读全文
posted @ 2020-09-08 11:56 EvanMeetTheWorld 阅读(20) 评论(0) 推荐(0)
摘要:now we need find the triplet in a given array. we only need to fin... 阅读全文
posted @ 2020-09-08 11:56 EvanMeetTheWorld 阅读(14) 评论(0) 推荐(0)
摘要:classic sum problems. given an array may contains duplicates, retu... 阅读全文
posted @ 2020-09-07 23:48 EvanMeetTheWorld 阅读(13) 评论(0) 推荐(0)
摘要:classic sum problems. given an array may contains duplicates, retu... 阅读全文
posted @ 2020-09-07 23:48 EvanMeetTheWorld 阅读(11) 评论(0) 推荐(0)
摘要:given rules, to some kind of covert stuff. class Solution { pub... 阅读全文
posted @ 2020-09-07 11:20 EvanMeetTheWorld 阅读(19) 评论(0) 推荐(0)
摘要:given rules, to some kind of covert stuff. class Solution { pub... 阅读全文
posted @ 2020-09-07 11:20 EvanMeetTheWorld 阅读(19) 评论(0) 推荐(0)
摘要:classic water container problems. using left and right pointer. fi... 阅读全文
posted @ 2020-09-07 11:16 EvanMeetTheWorld 阅读(13) 评论(0) 推荐(0)
摘要:classic water container problems. using left and right pointer. fi... 阅读全文
posted @ 2020-09-07 11:16 EvanMeetTheWorld 阅读(19) 评论(0) 推荐(0)
摘要:convert string to integer. pay attention to the following problems... 阅读全文
posted @ 2020-09-07 10:58 EvanMeetTheWorld 阅读(16) 评论(0) 推荐(0)
摘要:convert string to integer. pay attention to the following problems... 阅读全文
posted @ 2020-09-07 10:58 EvanMeetTheWorld 阅读(20) 评论(0) 推荐(0)
摘要:we just need to return the number of that longest substring. subst... 阅读全文
posted @ 2020-09-07 10:00 EvanMeetTheWorld 阅读(14) 评论(0) 推荐(0)
摘要:we just need to return the number of that longest substring. subst... 阅读全文
posted @ 2020-09-07 10:00 EvanMeetTheWorld 阅读(14) 评论(0) 推荐(0)
摘要:https://www.zhihu.com/question/27693510 第一个回答的用户给出了九个比较详尽的指标: 作者:知... 阅读全文
posted @ 2020-09-06 00:49 EvanMeetTheWorld 阅读(147) 评论(0) 推荐(0)
摘要:https://www.zhihu.com/question/27693510 第一个回答的用户给出了九个比较详尽的指标: 作者:知... 阅读全文
posted @ 2020-09-06 00:49 EvanMeetTheWorld 阅读(86) 评论(0) 推荐(0)
摘要:https://www.zhihu.com/question/28385350 第一个回答还是给人一些启发的。 一、找到用户兴趣点 ... 阅读全文
posted @ 2020-09-06 00:36 EvanMeetTheWorld 阅读(133) 评论(0) 推荐(0)
摘要:https://www.zhihu.com/question/28385350 第一个回答还是给人一些启发的。 一、找到用户兴趣点 ... 阅读全文
posted @ 2020-09-06 00:36 EvanMeetTheWorld 阅读(161) 评论(0) 推荐(0)
摘要:https://developer.apple.com/design/human-interface-guidelines/ios/... 阅读全文
posted @ 2020-09-06 00:24 EvanMeetTheWorld 阅读(23) 评论(0) 推荐(0)
摘要:https://developer.apple.com/design/human-interface-guidelines/ios/... 阅读全文
posted @ 2020-09-06 00:24 EvanMeetTheWorld 阅读(17) 评论(0) 推荐(0)
摘要:reference: https://cdc.tencent.com/2012/06/29/%E5%A6%82%E4%BD%95%E... 阅读全文
posted @ 2020-09-06 00:23 EvanMeetTheWorld 阅读(17) 评论(0) 推荐(0)
摘要:reference: https://cdc.tencent.com/2012/06/29/%E5%A6%82%E4%BD%95%E... 阅读全文
posted @ 2020-09-06 00:23 EvanMeetTheWorld 阅读(21) 评论(0) 推荐(0)
摘要:the following two override variable are used in navigation control... 阅读全文
posted @ 2020-09-03 03:51 EvanMeetTheWorld 阅读(8) 评论(0) 推荐(0)
摘要:the following two override variable are used in navigation control... 阅读全文
posted @ 2020-09-03 03:51 EvanMeetTheWorld 阅读(15) 评论(0) 推荐(0)
摘要:refer: import Foundationclass People : NSObject{ //普通属性 var ... 阅读全文
posted @ 2020-09-02 21:49 EvanMeetTheWorld 阅读(28) 评论(0) 推荐(0)
摘要:refer: import Foundationclass People : NSObject{ //普通属性 var ... 阅读全文
posted @ 2020-09-02 21:49 EvanMeetTheWorld 阅读(16) 评论(0) 推荐(0)