8 Simple_R

尚未进行身份认证

《黑客与画家》在读

等级
TA的排名 2w+

AngularJs学习笔记

ng-app指令指明了应用,ng-controller指明了控制器。AngularJS模块(Module)定义了AngularJS应用。AngularJS控制器(Controller)用于控制AngularJS应用。AngularJS表达式与JavaScript表达式类似于JavaScript表达式,AngularJS表达式可以包含字母,操作...

2019-05-30 15:55:04

5051. Valid Boomerang

Aboomerangisasetof3pointsthatarealldistinctandnotinastraightline.Givenalistofthreepointsintheplane,returnwhetherthesepointsareaboomerang.Example1:Input:[[1...

2019-05-05 11:42:46

Leetcode 1021. Remove Outermost Parentheses

Avalidparenthesesstringiseitherempty(""),"("+A+")",orA+B,whereAandBarevalidparenthesesstrings,and+representsstringconcatenation.Forexample,"","()","(())()",and"(()...

2019-04-07 13:13:40

Leetcode 1028. Convert to Base -2

GivenanumberN,returnastringconsistingof"0"sand"1"sthatrepresentsitsvalueinbase-2(negativetwo).Thereturnedstringmusthavenoleadingzeroes,unlessthestringis"0".Exam...

2019-03-31 18:05:14

Leetcode 1030. Next Greater Node In Linked List

Wearegivenalinkedlistwithheadasthefirstnode.Let'snumberthenodesinthelist:node_1,node_2,node_3,...etc.Eachnodemayhaveanextlargervalue:fornode_i,next_larger(node_i)...

2019-03-31 13:32:16

Leetcode 1029. Binary Prefix Divisible By 5

GivenanarrayAof0sand1s,considerN_i:thei-thsubarrayfromA[0]toA[i]interpretedasabinarynumber(frommost-significant-bittoleast-significant-bit.)Returnalistofbooleansanswer...

2019-03-31 13:31:20

Leetcode 114. Flatten Binary Tree to Linked List

Givenabinarytree,flattenittoalinkedlistin-place.Forexample,giventhefollowingtree:1/\25/\\346Theflattenedtreeshouldlooklike:1\2\...

2019-03-30 16:32:20

Leetcode 476. Number Complement

Givenapositiveinteger,outputitscomplementnumber.Thecomplementstrategyistoflipthebitsofitsbinaryrepresentation.Note:Thegivenintegerisguaranteedtofitwithintherangeofa...

2019-03-30 14:20:25

极客时间Java专栏

&&第一课 Java平台Java是解释执行吗?--不准确,Javac编译成字节码属于解释执行,但Hotspot的JVM提供了JIT编译器,能在运行时将热点代码编译成机器码,这情况下热点代码属于编译执行.###对于笼统的问题,要尽量表现出自己的思维深入并系统化,要避免让面试官觉得你是个"知其然不知所以然"的人.开放性问题,考察的是多方面的,很多面试者都会在这种问题上吃亏...

2019-03-25 11:55:50

Java锁机制

PARTONE--对象锁,一个人物可以多次获得对象的锁.JVM负责跟踪对象被枷锁的次数.--类锁,synchronizedstatic方法可以在类的范围内防止对static数据的并发访问.--Brian同步规则:--如果正在写一个变量,她可能接下来被另一个线程读取--或者正在读取一个上一次已经被另一个线程写过的变量--读写线程都必须使用相同的监视器锁同...

2019-03-25 11:53:50

Leetcode 141. Linked List Cycle

Givenalinkedlist,determineifithasacycleinit.Torepresentacycleinthegivenlinkedlist,weuseanintegerposwhichrepresentstheposition(0-indexed)inthelinkedlistwheretailc...

2019-03-24 22:03:29

1023. Binary String With Substrings Representing 1 To N

GivenabinarystringS(astringconsistingonlyof'0'and'1's)andapositiveintegerN,returntrueifandonlyifforeveryintegerXfrom1toN,thebinaryrepresentationofXisasubstring...

2019-03-24 11:11:05

英语流利说20190317 | 美国睡眠研究:周末补觉,补不回一周的睡眠债

Weekend'catch-upsleep'isalieThenegativehealtheffectsofskimpingonsleepduringtheweekcan'tbereversedbymarathonweekendsleepsessions,accordingtoasoberingnewstudy.Despit...

2019-03-17 23:53:51

Leetcode 101. Symmetric Tree

Givenabinarytree,checkwhetheritisamirrorofitself(ie,symmetricarounditscenter).Forexample,thisbinarytree[1,2,2,3,4,4,3]issymmetric:1/\22/\/\3443...

2019-03-17 23:47:13

Leetcode 1013. Pairs of Songs With Total Durations Divisible by 60

Inalistofsongs,thei-thsonghasadurationoftime[i]seconds.Returnthenumberofpairsofsongsforwhichtheirtotaldurationinsecondsisdivisibleby60.Formally,wewantthenumber...

2019-03-17 22:29:33

Leetcode 1012. Complement of Base 10 Integer

Everynon-negativeintegerNhasabinaryrepresentation.Forexample,5canberepresentedas"101"inbinary,11as"1011"inbinary,andsoon.NotethatexceptforN=0,therearenoleadingz...

2019-03-17 12:16:34

Leetcode 400. Nth Digit

Findthenthdigitoftheinfiniteintegersequence1,2,3,4,5,6,7,8,9,10,11,...Note:nispositiveandwillfitwithintherangeofa32-bitsignedinteger(n<231).Example1:Inp...

2019-03-16 00:51:17

3700万患者的曙光:第二例艾滋治愈病例或诞生

LondonHIVpatient'sremissionspurshopeforcuringAIDSremission,n.缓解,暂时康复spur,v.促进,激励Astem-celltreatmentputaLondoncancerpatient'sHIVintoremission,markingthesecondsuchreporte...

2019-03-14 00:03:43

英语流利说20190312 | 在科技跑道上,美国大学或失去关键优势

IntechracewithChina,U.S.universitiesmayloseavitaledgeedge,n.优势TheU.S.isstilloutinfrontofglobalrivalswhenitcomestoinnovation,butAmericanuniversities--wherenewidea...

2019-03-13 00:15:21

Leetcode 438. Find All Anagrams in a String

Givenastringsandanon-emptystringp,findallthestartindicesofp'sanagramsins.StringsconsistsoflowercaseEnglishlettersonlyandthelengthofbothstringssandpwillnotbelarg...

2019-03-12 23:43:30

查看更多

勋章 我的勋章
  • 勤写标兵Lv1
    勤写标兵Lv1
    授予每个自然周发布1篇到3篇原创IT博文的用户。本勋章将于次周周三上午根据用户上周的博文发布情况由系统自动颁发。