文章
leetcode 3 Longest Substring Without Repeating Characters
题目详情<blockquoteGivenastring,findthelengthofthelongestsubstringwithoutrepeatingcharacters.<p题目要求输入一个字符串,我们要找出其中不含重复字符的最长子字符串,返回这个最
leetcode zigzag conversion C语言实现
Thestring&34;PAYPALISHIRING&34;iswritteninazigzagpatternonagivennumberofrowslikethis:(youmaywanttodisplaythispatterninafix
leetcode164. Maximum Gap
题目要求<pre<codeGivenanunsortedarray,findthemaximumdifferencebetweenthesuccessiveelementsinitssortedform.Trytosolveitinlin
leetcode260. Single Number III
题目要求<pre<codeGivenanarrayofnumbersnums,inwhichexactlytwoelementsappearonlyonceandalltheotherelementsappearexactlytwice.
leetcode 2 Add Two Numbers
题目详情<blockquoteYouaregiventwononemptylinkedlistsrepresentingtwononnegativeintegers.Thedigitsarestoredinreverseorderandeac
leetcode 48 Rotate Image
题目详情<blockquoteYouaregivenannxn2Dmatrixrepresentinganimage.<br/Rotatetheimageby90degrees(clockwise).<br/Note:<br/Youhave
leetcode median of two sorted arrays C语言实现
C语言实现思路合并两个给出的数组将合并后的数组按照从小到大的顺序进行排列半段n1n2个数的奇偶性找到中指<pre<codeinclude<stdio.h>intOdd(intn);voidorderIntegerArray(intp,
[Leetcode] Matchsticks to Square 火柴拼方形
MatchstickstoSquare<blockquoteRememberthestoryofLittleMatchGirl?Bynow,youknowexactlywhat<br/matchsticksthelittlematchgirlh
leetcode 40 Combination Sum II
题目详情<blockquoteGivenacollectionofcandidatenumbers(C)andatargetnumber(T),findalluniquecombinationsinCwherethecandidatenumb
[Leetcode] Repeated Substring Pattern 重复子串格式
RepeatedSubstringPattern<blockquoteGivenanonemptystringcheckifitcanbeconstructedbytakinga<br/substringofitandappendingmul
已加载文章中没有匹配内容,试试其他关键词或清空搜索。