Skip to main content

Timeline for Alphabet Histogram

Current License: CC BY-SA 3.0

7 events
when toggle format what by license comment
Apr 13, 2018 at 9:15 comment added Ian H. @KevinCruijssen Thats really clever, thanks!
Apr 13, 2018 at 9:15 history edited Ian H. CC BY-SA 3.0
added 5 characters in body
Apr 13, 2018 at 8:57 comment added Kevin Cruijssen +1 from me. Oh, and you can save 2 more bytes by changing for(;i<t;){string p=i>0&i%5<1|i==1?i+"-":"",q=p.PadLeft(o);for(j=o;j<m;){...}a[i++]=q;} to for(string p,q;i<t;)for(p=i>0&i%5<1|i==1?i+"-":"",q=p.PadLeft(j=o);j<m;a[i++]=q){...}. Try it online.
Apr 13, 2018 at 8:46 comment added Ian H. @KevinCruijssen Thanks, I missed these. And I added the 18 bytes.
Apr 13, 2018 at 8:45 history edited Ian H. CC BY-SA 3.0
-4 bytes
Apr 13, 2018 at 8:30 comment added Kevin Cruijssen You have a space at j< m; that can be removed. And int i=0,j can be placed as ,i=0,j after the other ints for -4 bytes in total. You'll have to including the 18 bytes for the using System.Linq; however..
Apr 12, 2018 at 10:16 history answered Ian H. CC BY-SA 3.0