Category: java
Your task is to return an array (that contains integer numbers from 0 to N, N is the length of a given string S that contains only I or …
Given a binary search tree and a target, find out if there are any two numbers in the BST that sums up to this target. Given a Binary Search …
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 …