原文:[LeetCode] Find Anagram Mappings 尋找異構映射

Given two listsAandB, andBis an anagram ofA.Bis an anagram ofAmeansBis made by randomizing the order of the elements inA. We want to find anindex mappingP, fromAtoB. A mappingP i jmeans theith elemen ...

2018-03-14 23:53 0 2736 推薦指數:

查看詳情

LeetCode】242. Valid Anagram (2 solutions)

Valid Anagram Given two strings s and t, write a function to determine if t is an anagram of s. For example,s = "anagram", t = "nagaram", return ...

Sun Aug 02 05:38:00 CST 2015 0 6049
 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM