摘要: Cutting an integer means to cut a K digits lone integer Z into two integers of (K/2) digits long integers A and B. For example, after cutting Z = 1673 阅读全文
posted @ 2020-04-20 11:15 Veritas_des_Liberty 阅读(159) 评论(0) 推荐(0)
摘要: Given a singly linked list, you are supposed to rearrange its elements so that all the negative values appear before all of the non-negatives, and all 阅读全文
posted @ 2020-04-20 10:52 Veritas_des_Liberty 阅读(231) 评论(0) 推荐(0)
摘要: A vertex cover of a graph is a set of vertices such that each edge of the graph is incident to at least one vertex of the set. Now given a graph with 阅读全文
posted @ 2020-04-20 00:03 Veritas_des_Liberty 阅读(178) 评论(0) 推荐(0)