摘要:
You are given the head of a linked list with n nodes. For each node in the list, find the value of the next greater node. That is, for each node, find 阅读全文
posted @ 2020-03-14 09:13
CNoodle
阅读(250)
评论(0)
推荐(0)
摘要:
The string "PAYPALISHIRING" is written in a zigzag pattern on a given number of rows like this: (you may want to display this pattern in a fixed font 阅读全文
posted @ 2020-03-14 03:32
CNoodle
阅读(457)
评论(0)
推荐(0)
摘要:
In a row of dominoes, A[i] and B[i] represent the top and bottom halves of the i-th domino. (A domino is a tile with two numbers from 1 to 6 - one on 阅读全文
posted @ 2020-03-14 02:44
CNoodle
阅读(152)
评论(0)
推荐(0)