Programming Test QR Team Developed Suite Analytical Models QR team has developed a suite of analytical models that take 1-n variables as input. Say alpha (a), beta (b), gamma (g), delta (d), rho (‘r). All are double values.
Function takes array integers returns array rotated N positions Write a function that takes an array of integers and returns that array rotated by N positions. For example, if N=2, given the input array [1, 2, 3, 4, 5, 6] … Continue reading
Find additional string array string Given two arrays of strings, A and B. B contains every element in A, and has one additional member, for example: * A = [‘dog’, ‘cat’, ‘monkey] * B = [‘cat’, ‘rat’, ‘dog’, ‘monkey’] Write … Continue reading
Reverse words String java Write a function to reverse words in a String. Please have java program below which reverse string “Hello World” to “dlroW olleH”:
How use String tokenizer java Write a function, tokenize_string(input_string, delimiter_list) that returns a list of strings that are separated by the delimiters. For example: tokenize_string(“How now, Mrs. Brown Cow”) returns [‘How’, ‘now’, ‘Mrs’, ‘Brown’, ‘Cow’]
Calculate shortest distance using Java API Efficiently calculate the shortest distance between two Facebook users given an API endpoint that returns all friends of a given user.
String Calculator multiple delimiters Assignment description: The code is for a String Calculator. Your job is to refactor the code so its readable, supportable, and to resolve any bugs. Below will be a description of what the code is trying … Continue reading
Print total number occurrences each character String Write a java method that will take a String argument and print total number of occurrences of each character in the input string.
Write program that prints numbers from 1 to X Assignment question: Write a program that prints the numbers from 1 to X. But for multiples of 2 print “Fiddle” instead of the number and for multiples of 5 print “Faddle” … Continue reading