Skip to main content
edited body
Source Link
dana
  • 2.7k
  • 1
  • 17
  • 12

C# (Visual C# Interactive Compiler), 123 bytes

a=>{var b="";for(dynamic i=0,e,f;i<a.Count;b+=a[i++]=f)foreach(var c in((e,f)=(b.ToList(),"")).f+a[i])f+=e.Remove(c)?"":c;} 

Try it online!

Anonymous function that outputs by modifying an input array.

// a: input array of strings a=>{ // b: cumulative letters var b=""; for( // i: loop index of string // e: copy of cumulative letters for manipulation // f: characters missing from current string dynamic i=0,e,f; // iterate over each string in a i<a.Count; // add missing letters of the day to // cumulative missing letters and // update array for output b+=a[i++]=f ) // iterate current string with character c foreach(var c in // tuplized variable assignment // e=b.ToList() // set e to a copy of the cumulative letters // f="" // initially there are no letters needed for the day ((e,f)= (b.ToList(),"")).d+a[i]f+a[i] ) // conditionally add c to missing letters for the day f+=e.Remove(c)?"":c; } 

C# (Visual C# Interactive Compiler), 123 bytes

a=>{var b="";for(dynamic i=0,e,f;i<a.Count;b+=a[i++]=f)foreach(var c in((e,f)=(b.ToList(),"")).f+a[i])f+=e.Remove(c)?"":c;} 

Try it online!

Anonymous function that outputs by modifying an input array.

// a: input array of strings a=>{ // b: cumulative letters var b=""; for( // i: loop index of string // e: copy of cumulative letters for manipulation // f: characters missing from current string dynamic i=0,e,f; // iterate over each string in a i<a.Count; // add missing letters of the day to // cumulative missing letters and // update array for output b+=a[i++]=f ) // iterate current string with character c foreach(var c in // tuplized variable assignment // e=b.ToList() // set e to a copy of the cumulative letters // f="" // initially there are no letters needed for the day ((e,f)= (b.ToList(),"")).d+a[i] ) // conditionally add c to missing letters for the day f+=e.Remove(c)?"":c; } 

C# (Visual C# Interactive Compiler), 123 bytes

a=>{var b="";for(dynamic i=0,e,f;i<a.Count;b+=a[i++]=f)foreach(var c in((e,f)=(b.ToList(),"")).f+a[i])f+=e.Remove(c)?"":c;} 

Try it online!

Anonymous function that outputs by modifying an input array.

// a: input array of strings a=>{ // b: cumulative letters var b=""; for( // i: loop index of string // e: copy of cumulative letters for manipulation // f: characters missing from current string dynamic i=0,e,f; // iterate over each string in a i<a.Count; // add missing letters of the day to // cumulative missing letters and // update array for output b+=a[i++]=f ) // iterate current string with character c foreach(var c in // tuplized variable assignment // e=b.ToList() // set e to a copy of the cumulative letters // f="" // initially there are no letters needed for the day ((e,f)= (b.ToList(),"")).f+a[i] ) // conditionally add c to missing letters for the day f+=e.Remove(c)?"":c; } 
deleted 86 characters in body
Source Link
dana
  • 2.7k
  • 1
  • 17
  • 12

C# (Visual C# Interactive Compiler), 123 bytes

a=>{var b="";for(dynamic i=0,e,f;i<a.Count;b+=a[i++]=f)foreach(var c in((e,f)=(b.ToList(),"")).f+a[i])f+=e.Remove(c)?"":c;} 

Try it online!

Anonymous function that outputs by modifying an input array.

// a: input array of strings a=>{ // b: cumulative letters var b=""; for( // i: loop index of string // d: string at index i // e: copy of cumulative letters for manipulation // f: characters missing from current string dynamic i=0,d,e,f; // iterate over each string in a i<a.Count; // add missing letters of the day to // cumulative missing letters and // update array for output b+=a[i++]=f ) // iterate current string with character c foreach(var c in // tuplized swap // d=a[i] // set d to the ith element invariable aassignment // e=b.ToList() // set e to a copy of the cumulative letters // f="" // initially there are no letters needed for the day ((d,e,f)= (a[i],b.ToList(),"")).dd+a[i] ) // conditionally add c to missing letters for the day f+=e.Remove(c)?"":c; } 

C# (Visual C# Interactive Compiler), 123 bytes

a=>{var b="";for(dynamic i=0,e,f;i<a.Count;b+=a[i++]=f)foreach(var c in((e,f)=(b.ToList(),"")).f+a[i])f+=e.Remove(c)?"":c;} 

Try it online!

Anonymous function that outputs by modifying an input array.

// a: input array of strings a=>{ // b: cumulative letters var b=""; for( // i: loop index of string // d: string at index i // e: copy of cumulative letters for manipulation // f: characters missing from current string dynamic i=0,d,e,f; // iterate over each string in a i<a.Count; // add missing letters of the day to // cumulative missing letters and // update array for output b+=a[i++]=f ) // iterate current string with character c foreach(var c in // tuplized swap // d=a[i] // set d to the ith element in a // e=b.ToList() // set e to a copy of the cumulative letters // f="" // initially there are no letters needed for the day ((d,e,f)= (a[i],b.ToList(),"")).d ) // conditionally add c to missing letters for the day f+=e.Remove(c)?"":c; } 

C# (Visual C# Interactive Compiler), 123 bytes

a=>{var b="";for(dynamic i=0,e,f;i<a.Count;b+=a[i++]=f)foreach(var c in((e,f)=(b.ToList(),"")).f+a[i])f+=e.Remove(c)?"":c;} 

Try it online!

Anonymous function that outputs by modifying an input array.

// a: input array of strings a=>{ // b: cumulative letters var b=""; for( // i: loop index of string // e: copy of cumulative letters for manipulation // f: characters missing from current string dynamic i=0,e,f; // iterate over each string in a i<a.Count; // add missing letters of the day to // cumulative missing letters and // update array for output b+=a[i++]=f ) // iterate current string with character c foreach(var c in // tuplized variable assignment // e=b.ToList() // set e to a copy of the cumulative letters // f="" // initially there are no letters needed for the day ((e,f)= (b.ToList(),"")).d+a[i] ) // conditionally add c to missing letters for the day f+=e.Remove(c)?"":c; } 
deleted 6 characters in body; deleted 6 characters in body
Source Link
dana
  • 2.7k
  • 1
  • 17
  • 12

C# (Visual C# Interactive Compiler), 129123 bytes

a=>{var b="";for(dynamic i=0,d,e,f;i<a.Count;b+=f,a[i++]=fCount;b+=a[i++]=f)foreach(var c in((d,e,f)=(a[i],b.ToList(),"")).df+a[i])f+=e.Remove(c)?"":c;} 

Try it online!Try it online!

Anonymous function that outputs by modifying an input array.

// a: input array of strings a=>{ // b: cumulative letters var b=""; for( // i: loop index of string // d: string at index i // e: copy of cumulative letters for manipulation // f: characters missing from current string dynamic i=0,d,e,f; // iterate over each string in a i<a.Count; // add missing letters of the day to // cumulative missing letters and // update array for output b+=f,a[i++]=fb+=a[i++]=f ) // iterate current string with character c foreach(var c in // tuplized swap // d=a[i] // set d to the ith element in a // e=b.ToList() // set e to a copy of the cumulative letters // f="" // initially there are no letters needed for the day ((d,e,f)= (a[i],b.ToList(),"")).d ) // conditionally add c to missing letters for the day f+=e.Remove(c)?"":c; } 

C# (Visual C# Interactive Compiler), 129 bytes

a=>{var b="";for(dynamic i=0,d,e,f;i<a.Count;b+=f,a[i++]=f)foreach(var c in((d,e,f)=(a[i],b.ToList(),"")).d)f+=e.Remove(c)?"":c;} 

Try it online!

Anonymous function that outputs by modifying an input array.

// a: input array of strings a=>{ // b: cumulative letters var b=""; for( // i: loop index of string // d: string at index i // e: copy of cumulative letters for manipulation // f: characters missing from current string dynamic i=0,d,e,f; // iterate over each string in a i<a.Count; // add missing letters of the day to // cumulative missing letters and // update array for output b+=f,a[i++]=f ) // iterate current string with character c foreach(var c in // tuplized swap // d=a[i] // set d to the ith element in a // e=b.ToList() // set e to a copy of the cumulative letters // f="" // initially there are no letters needed for the day ((d,e,f)= (a[i],b.ToList(),"")).d ) // conditionally add c to missing letters for the day f+=e.Remove(c)?"":c; } 

C# (Visual C# Interactive Compiler), 123 bytes

a=>{var b="";for(dynamic i=0,e,f;i<a.Count;b+=a[i++]=f)foreach(var c in((e,f)=(b.ToList(),"")).f+a[i])f+=e.Remove(c)?"":c;} 

Try it online!

Anonymous function that outputs by modifying an input array.

// a: input array of strings a=>{ // b: cumulative letters var b=""; for( // i: loop index of string // d: string at index i // e: copy of cumulative letters for manipulation // f: characters missing from current string dynamic i=0,d,e,f; // iterate over each string in a i<a.Count; // add missing letters of the day to // cumulative missing letters and // update array for output b+=a[i++]=f ) // iterate current string with character c foreach(var c in // tuplized swap // d=a[i] // set d to the ith element in a // e=b.ToList() // set e to a copy of the cumulative letters // f="" // initially there are no letters needed for the day ((d,e,f)= (a[i],b.ToList(),"")).d ) // conditionally add c to missing letters for the day f+=e.Remove(c)?"":c; } 
deleted 168 characters in body; added 141 characters in body
Source Link
dana
  • 2.7k
  • 1
  • 17
  • 12
Loading
added 1 character in body; added 53 characters in body
Source Link
dana
  • 2.7k
  • 1
  • 17
  • 12
Loading
added 1052 characters in body
Source Link
dana
  • 2.7k
  • 1
  • 17
  • 12
Loading
added 95 characters in body
Source Link
dana
  • 2.7k
  • 1
  • 17
  • 12
Loading
Source Link
dana
  • 2.7k
  • 1
  • 17
  • 12
Loading