摘要:
Given a balanced parentheses string S, compute the score of the string based on the following rule: () has score 1 AB has score A + B, where A and B a 阅读全文
posted @ 2021-02-25 04:22
CNoodle
阅读(119)
评论(0)
推荐(0)
摘要:
Consider a directed graph, with nodes labelled 0, 1, ..., n-1. In this graph, each edge is either red or blue, and there could be self-edges or parall 阅读全文
posted @ 2021-02-25 03:18
CNoodle
阅读(117)
评论(0)
推荐(0)
摘要:
There are 3n piles of coins of varying size, you and your friends will take piles of coins as follows: In each step, you will choose any 3 piles of co 阅读全文
posted @ 2021-02-25 01:05
CNoodle
阅读(219)
评论(0)
推荐(0)