Rokt计算机科学面试真题

职位分类
全部
数据相关
计算机科学
人工智能
产品经理
BQ
面试题
全部(3)
OOD(0)
Algorithm(2)
System Design(1)
高频题(0)
Math(0)
全部(3)
OOD(0)
Algorithm(2)
System Design(1)
高频题(0)
Math(0)
1.Difference Between Concurrency and Parallelism
2.Multiple Anagram Verification with Variable Arguments
3.Anagram Verification with Punctuation and Case Insensitivity
1. Difference Between Concurrency and Parallelism
Explain the difference between concurrency and parallelism in the context of programming.
2. Multiple Anagram Verification with Variable Arguments
Extend the previous anagram verification function to check if multiple string inputs are anagrams of each other. The input should be passed as variable arguments (*args). For instance, the input 'abc', 'BAC', 'bca' should return True.
3. Anagram Verification with Punctuation and Case Insensitivity
Write a function to verify if two strings s1 and s2 are anagrams, considering that the strings may contain punctuation and spaces, and the comparison should be case insensitive. For example, the strings 'AnGr,am' and 'aNRAG.m' should return True.