摘要:
Given a singly linked list, group all odd nodes together followed by the even nodes. Please note here we are talking about the node number and not the 阅读全文
posted @ 2019-08-08 12:37
Schwifty
阅读(138)
评论(0)
推荐(0)
摘要:
Given an unsorted array return whether an increasing subsequence of length 3 exists or not in the array. Formally the function should: Note: Your algo 阅读全文
posted @ 2019-08-08 08:57
Schwifty
阅读(98)
评论(0)
推荐(0)
摘要:
Given an array nums of n integers where n > 1, return an array output such that output[i] is equal to the product of all the elements of numsexcept nu 阅读全文
posted @ 2019-08-08 05:07
Schwifty
阅读(125)
评论(0)
推荐(0)
摘要:
Given an array of integers and an integer k, find out whether there are two distinct indices i and j in the array such that nums[i] = nums[j] and the 阅读全文
posted @ 2019-08-08 04:16
Schwifty
阅读(165)
评论(0)
推荐(0)
摘要:
Given an array of integers, find if the array contains any duplicates. Your function should return true if any value appears at least twice in the arr 阅读全文
posted @ 2019-08-08 03:20
Schwifty
阅读(149)
评论(0)
推荐(0)

浙公网安备 33010602011771号