摘要: 题目描述: Write a program to find the node at which the intersection of two singly linked lists begins. For example, the following two linked lists: begin 阅读全文
posted @ 2019-06-02 22:39 mingyu02 阅读(117) 评论(0) 推荐(0)
摘要: 题目描述: Given an array of size n, find the majority element. The majority element is the element that appears more than ⌊ n/2 ⌋ times. You may assume th 阅读全文
posted @ 2019-06-02 02:28 mingyu02 阅读(106) 评论(0) 推荐(0)