常见字符在MIPS中计数
给定两个字符串,找到它们之间的常见字符数量。 示例:对于S1 =“ AABCC”和S2 =“ ADCAA”,输出应为CommonCharacterCount(S1,S2)= 3。字符串具有3个常见字符-2“ A” A“ S和1”C。
在C或Python中很简单,但是可能在MIPS中写下它吗?
Given two strings, find the number of common characters between them.
Example: For s1 = "aabcc" and s2 = "adcaa", the output should be commonCharacterCount(s1, s2) = 3. Strings have 3 common characters - 2 "a"s and 1 "c".
It's pretty simple in C or Python, but is it possibly to write it in MIPS?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论