<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-KVGHS6G" height="0" width="0" style="display:none;visibility:hidden"></iframe>

USAA数据相关面试真题

职位分类
全部
数据相关
计算机科学
人工智能
产品经理
BQ
面试题
全部(3)
SQL(0)
Coding(3)
ML basics(0)
Stats(0)
Product Case(0)
高频题(0)
Other(0)
全部(3)
SQL(0)
Coding(3)
ML basics(0)
Stats(0)
Product Case(0)
高频题(0)
Other(0)
1.Store Every Other Element from a Sorted Array
2.Count Substring Occurrences
3.Remove Vowels from a String
1. Store Every Other Element from a Sorted Array
Given an array, sort the array in ascending order, then create a new array by storing every other element starting from the first element of the sorted array. For example, given the array [3,5,12,2,5], the function should return [2,5,12].
2. Count Substring Occurrences
Write a function that takes two strings as arguments and returns the number of times the second string occurs as a substring within the first string. For instance, given the strings 'ababab' and 'ab', the function should return 3.
3. Remove Vowels from a String
Write a function to remove all vowels from a given string. For example, given the string 'beautiful', the function should return 'btfl'.