Author: ACMer
Getting a HHKB and being excited for a few days? Sooner or later, you ‘ll realise that it is not very convenient as you need to remember the combination …
Given an array that has n integers, find a sub array of given length k that has the maximum average value. Write a function that outputs the maximum average …
Given an array of sorted integers and a target, find the index of the target in the array, if not found, return -1. Given a sorted (in ascending order) …
Given a string S, return the “reversed” string where all characters that are not a letter stay in the same place, and all letters reverse their positions. Given a …
As part of a data processing pipeline, complete the implementation of the makePipeline method: The method should accept a vector of functions, and it should return a new function …