摘要:
Given an integer x, write a method that multiplies x with 3.5 and returns the integer result. You are not allowed to use %, /, or *. Examples: input 2 阅读全文
posted @ 2017-07-20 06:53
Review->Improve
阅读(130)
评论(0)
推荐(0)
摘要:
Given an array arr[0.....n-1] containing n positive integers, find the length of the longest bitonic subsequence. A subsequence of arr[] is called Bit 阅读全文
posted @ 2017-07-20 06:41
Review->Improve
阅读(488)
评论(0)
推荐(0)
摘要:
Given an unsorted array of integers, sort the array into a wave like array. An array arr[0...n-1] is sorted in wave form if arr[0] >= arr[1] <= arr[2] 阅读全文
posted @ 2017-07-20 00:08
Review->Improve
阅读(266)
评论(0)
推荐(0)

浙公网安备 33010602011771号