自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(13)
  • 收藏
  • 关注

原创 An Important Telephone Call

Mrs Jane was waiting for an Important telephone call, but she has no bread in the house, so she left the baby at home and said to her five-year-old brother , "I'm going to the shops, Jimmy, and I will be back a few minutes." While she was out, the te...

2021-08-25 10:29:10 182

原创 Christmas Cards

It was two weeks before Christmas, and Mr Smith was very busy. She bought a lot of就在圣诞的前两周, 史密斯夫人非常繁忙,她买了很多圣诞卡片以送给她的朋友们以及史密斯的Christmas cards to send to her friends and her husband's friends, and put them on the 朋友们,史密斯夫人把他们放在了起居室的桌子上。table in th...

2021-08-24 15:51:22 322

原创 Invert K Nodes In Linked List(倒置链表的K个节点)

Question Given a linked list, reverse the nodes of a linked list k at a time and return its modified list. K is a positive integer and is less than or equal to the length of linked list. If the number of nodes is not a mutiple of k then left-out ...

2021-08-20 16:12:40 235

原创 Bracket Match Problem(括号匹配问题)

QuestionGiven a string, which is combined with '(',')''[',']','{','}', please follow the rules below to determine weather the string is matched.exampleone:Input:"()"Output: truetwo:Input:"(())[][]"Output: truethree:Input...

2021-08-19 15:09:11 522

原创 Delete Desined Node In The Linked List(链表节点删除问题)

Question Given a linked list, please remove the n -th node from the start of list and return its head.Thinking We know The linked list consists of many nodes. but we can not directly get a the location of a node, so we must traverse ...

2021-08-19 14:02:51 141

原创 Phone Button Problem(电话按键问题)

Question Given a string containing digits from 2-9 inclusive. please return all possible letter combinations that the number could represent.exampleInput23Output["ad","ae","af","bd","be","bf","cd","ce","cf"]Thinking ...

2021-08-18 17:21:38 228

原创 Sum Zero Problem(三数和为0, 破解三重for循环问题)

QuestionGiven an array nums of n integers, are there elements a,b,c ... in nums such that a+b+c =0? Find all unique triplets in the array which gives the sum of zero.example:input:nums=[-1,0,1,2,-1,-4]output:[ [-1,0,1],...

2021-08-17 17:38:42 410

原创 Common Prefix Problem(共有前缀问题)

Question Please write a funtion to find the longest common prefix string amlost an array of strings.example:input: ["flower","flight","floor"]output: "fl"Method One We can compare the number of identical characters in each st...

2021-08-17 16:50:39 392

原创 Roman Numeral Problem(罗马数字问题)

Question

2021-08-17 11:00:24 428

原创 Measuring Cup Problem(量杯问题)

Question Given n non-negative integers a1,a2,..,an, where each represents a point at coordinate(i,ai). n vertical lines are drawn such that the two endpoints of line i is at(i,ai) and(i,0), which together with x-axis forms a container, such that ...

2021-08-13 17:03:00 422

原创 How to calculate the z-graph transformation problem with the time complexity of o(n)(Z字形变换问题)

Question The string "PAYPALISHIRIN" is written in a zigzag parttern on a given number of rows like this: P A H N A P L S I I G Y I R And then read line by line "PAHNAPLSIIGYIR", please finish it ...

2021-08-12 18:03:00 227

原创 Maximum Palindromic String(最大回文串)

QuestionGiven a string s, find the longest palindromic substring in s, You may assume that maximum length of s is 1000;How to determinewhether the string is a palindromic? /** * 判断该字符串是否是回文串 * Determines whether the string is ...

2021-08-11 14:58:34 471

原创 如何赢得良好的第一印象 Making a good first impression

The part aims at recording some useful verbal english .

2021-08-06 15:25:42 442

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除