ARST18

A20. Valid ParenthesesGiven a string containing just the characters '(', ')', '{', '}', '[' and ']', determine if the input string is valid.An input string is valid if:Open brackets must be closed by

- 阅读全文 -

ARST17

A24 Swap Nodes in PairsExample:Given 1->2->3->4, you should return the list as 2->1->4->3.def swapPairs(self,head): pre,pre.next = self,head while pre.next and pre.next.next:

- 阅读全文 -

Modern JS

Table of contentsvarialbe declaration:var,const,letIn javaScript.there are three keywords avaiable to declare a variable,and each has its differences Those are var,let and constvariablevariablescopeRe

- 阅读全文 -

9 things every React.js beginner should know

链接如下:https://camjackson.net/post/9-things-every-reactjs-beginner-should-know1.It's just a view library2.Keep your components smallin general my advice would be to make your components significantly sm

- 阅读全文 -