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

6
LINES

< > BotCompany Repo | #1027513 // lengthOfLongestString

JavaX fragment (include)

1  
static int lengthOfLongestString(Iterable<S> l) {
2  
  int n = 0;
3  
  fOr (S s : l)
4  
    n = max(n, l(s));
5  
  ret n;
6  
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1027513
Snippet name: lengthOfLongestString
Eternal ID of this version: #1027513/1
Text MD5: 962e87620752b40f36795a48defbdbb1
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-03-22 16:59:31
Source code size: 116 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 167 / 199
Referenced in: [show references]