NPDev Art · Small paintings. Tall tales. Nothing too serious.

Permanent link

meme #1546

dpnkrpl/programming-memes · entry memes/1/1546.png · 700×670

Stored on this server · pinned revision 9bf0966

Meme from the local archive, entry #1546: MinistryOfDev,PhD 8+Folgen @UdellGames Usewhateverbracestyleyouprefer. Butnotthis. Don'tdothis. Seekhelpinsteadofthis. pubLic class Permuter private static void permute(int n,char[
700×670

Text detected in the image

MinistryOfDev,PhD 8+Folgen @UdellGames Usewhateverbracestyleyouprefer. Butnotthis. Don'tdothis. Seekhelpinsteadofthis. pubLic class Permuter private static void permute(int n,char[] a) if(n== 0) System.out.println(String.valueof(a)) else for(inti=0;i n;i+) permute(n-1,a) swap(a,n%2==0?i:0,n) private static void swap(char[] a,int i, int j) char saved = a[i] a[i]=a[j] a[j] saved

Text detected inside the image by local OCR on this server; it is not a caption or a title.

Where this came from

Images come from the public dpnkrpl/programming-memes archive (MIT), copied to this server; the archive's licence covers the repository's own work and does not establish rights in the third-party images it collects.

Open this file in the archive ↗

The archive is MIT licensed; the images are third-party work it collects, and all rights remain with their original creators.

← All memes · Search the archive