Search Insert Position--LeetCode,wordsearchleetcode題目:Given a sorted array and a target value, return the index if the target is found. If not, return the index where it would be if it were inserted in order.You may assume no duplicates in the array.
Remove Duplicates from Sorted List II--LeetCode,removeduplicates題目:Given a sorted linked list, delete all nodes that have duplicate numbers, leaving only distinct numbers from the original list.For
Length of last word--LeetCode,wordbreakleetcode題目:Given a string s consists of upper/lower-case alphabets and empty space characters ' ', return the length of last word in the string.If the last word does not exist, return
【SICP練習】148 練習4.4,sicp練習1484.4 練習4-4原文Exercise 4.4. Recall the definitions of the special forms and and or from chapter 1: ● and: The expressions are evaluated from left to right. If any expression evaluates to false, false is returned;
【SICP練習】152 練習4.8,sicp練習1524.8 練習4-8原文Exercise 4.8. “Named let” is a variant of let that has the form (let <var> <bindings> <body>)The and are just as in ordinary let, except that is bound within to a procedure whose