Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

3
LINES

< > BotCompany Repo | #1023994 // isAnagram - case-insensitive

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (1930L/12K).

1  
sbool isAnagram(S a, S b) {
2  
  ret l(a) == l(b) && eqic(sortCharactersIC(a), sortCharactersIC(b));
3  
}

download  show line numbers  debug dex  old transpilations   

Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, whxojlpjdney

No comments. add comment

Snippet ID: #1023994
Snippet name: isAnagram - case-insensitive
Eternal ID of this version: #1023994/2
Text MD5: 440a4799e3c8d4f8360a9af9ffa3ffd5
Transpilation MD5: 7f3a6edd6e870cef574137f4cedb34fc
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-07-15 02:21:15
Source code size: 101 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 195 / 288
Version history: 1 change(s)
Referenced in: [show references]