摘要: Odd Even Linked List Given a singly linked list, group all odd nodes together followed by the even nodes. Please note here we are talking about the no 阅读全文
posted @ 2016-02-04 11:23 `Liok 阅读(367) 评论(0) 推荐(0) 编辑
摘要: Power of Three Given an integer, write a function to determine if it is a power of three. Follow up:Could you do it without using any loop / recursion 阅读全文
posted @ 2016-02-04 11:08 `Liok 阅读(412) 评论(0) 推荐(0) 编辑
摘要: Longest Increasing Path in a Matrix Given an integer matrix, find the length of the longest increasing path. From each cell, you can either move to fo 阅读全文
posted @ 2016-02-04 10:57 `Liok 阅读(380) 评论(0) 推荐(0) 编辑