22
\$\begingroup\$

Given a string S and a list of indices X, modify S by removing the element at each index of S while using that result as the new value of S.

For example, given S = 'codegolf' and X = [1, 4, 4, 0, 2],

0 1 2 3 4 5 6 7  |
c o d e g o l f  |  Remove 1
c d e g o l f    |  Remove 4
c d e g l f      |  Remove 4
c d e g f        |  Remove 0
d e g f          |  Remove 2
d e f

Your task is to perform this process, collect the values of S after each operation, and display each on a newline in order. The final answer would be

S = 'codegolf'
X = [1, 4, 4, 0, 2]

Answer:

codegolf
cdegolf
cdeglf
cdegf
degf
def
  • This is so make your code as short as possible.
  • You may assume that the values in X are always valid indices for S, and you may use either 0-based or 1-based indexing.
  • The string will only contain [A-Za-z0-9]
  • Either S or x may by empty. If S is empty, it follows that x must also be empty.
  • You may also take S as a list of characters instead of a string.
  • You may either print the output or return a list of strings. Leading and trailing whitespace is acceptable. Any form of output is fine as long as it is easily readable.

Test Cases

S = 'abc', x = [0]
'abc'
'bc'

S = 'abc', x = []
'abc'

S = 'abc', x = [2, 0, 0]
'abc'
'ab'
'b'
''

S = '', x = []
''

S = 'codegolfing', x = [10, 9, 8, 3, 2, 1, 0]
'codegolfing'
'codegolfin'
'codegolfi'
'codegolf'
'codgolf'
'cogolf'
'cgolf'
'golf'
\$\endgroup\$
14
  • \$\begingroup\$ May we take S as a list of characters? \$\endgroup\$
    – Mr. Xcoder
    Aug 11, 2017 at 16:04
  • \$\begingroup\$ @Mr.Xcoder Sure, I'll add that in the spec. \$\endgroup\$
    – miles
    Aug 11, 2017 at 16:06
  • \$\begingroup\$ May we print as a list of characters? \$\endgroup\$ Aug 11, 2017 at 16:19
  • \$\begingroup\$ Can we skip the first item (the original string) in the output? \$\endgroup\$ Aug 11, 2017 at 16:28
  • \$\begingroup\$ @ETHproductions No, the output should be the original string first, and then each string that results from deleting a character. So the output should contain len(x)+1 strings. \$\endgroup\$
    – miles
    Aug 11, 2017 at 16:31

41 Answers 41

8
\$\begingroup\$

Haskell, 38 33 bytes

s#i=take i s++drop(i+1)s
scanl(#)

Straight forward: repeatedly take the elements before and after index i, rejoin them and collect the results.

Try it online!

Edit: @Lynn saved 5 bytes. Thanks!

\$\endgroup\$
3
  • \$\begingroup\$ s#i=take i s++drop(i+1)s is actually shorter, saving 5 bytes. \$\endgroup\$
    – Lynn
    Aug 11, 2017 at 23:59
  • 1
    \$\begingroup\$ Nope, you’re at 33 now — don’t forget that the TIO snippet has q= in there ^^; \$\endgroup\$
    – Lynn
    Aug 12, 2017 at 10:30
  • \$\begingroup\$ Yep, you're right. \$\endgroup\$
    – nimi
    Aug 12, 2017 at 22:29
8
\$\begingroup\$

JavaScript (ES6), 57 50 48 45 42 bytes

Takes the string as an array of individual characters, outputs an array containing a comma separated string of the original followed by a subarray of comma separated strings for each step.

s=>a=>[s+"",a.map(x=>s.splice(x,1)&&s+"")]
  • 3 bytes saved thanks to Arnauld suggesting I abuse the loose output spec more than I already was, which led me to abusing it even more for another 3 byte saving.

Test it

o.innerText=JSON.stringify((f=

s=>a=>[s+"",a.map(x=>s.splice(x,1)&&s+"")]

)([...i.value="codegolf"])(j.value=[1,4,4,0,2]));oninput=_=>o.innerText=JSON.stringify(f([...i.value])(j.value.split`,`))
label,input{font-family:sans-serif;font-size:14px;height:20px;line-height:20px;vertical-align:middle}input{margin:0 5px 0 0;width:100px;}
<label for=i>String: </label><input id=i><label for=j>Indices: </label><input id=j><pre id=o>


Explanation

We take the two inputs via parameters s (the string array) and a (the integer array) in currying syntax, meaning we call the function with f(s)(a).

We build a new array and start it off with the original s. However, as the splice method we'll be using later on modifies an array, we need to make a copy of it, which we can do by converting it to a string (simply append an empty string).

To generate the subarray, we map over the integer array a (where x is the current integer) and, for each element, we splice 1 element from s, beginning at index x. We return the modified s, again making a copy of it by converting it to a string.

\$\endgroup\$
2
  • \$\begingroup\$ Because any form of output is fine as long as it is easily readable, I suppose that one should also be acceptable: s=>a=>[s+'',...a.map(x=>s.splice(x,1)&&s+'')] \$\endgroup\$
    – Arnauld
    Aug 11, 2017 at 16:53
  • \$\begingroup\$ Nice one, @Arnuald - I wouldn't have thought to push it that far, even given that spec. \$\endgroup\$
    – Shaggy
    Aug 11, 2017 at 16:55
6
\$\begingroup\$

Japt, 6 bytes

åjV uV

Test it online!

Explanation

UåjV uV   Implicit: U = array of integers, V = string
Uå        Cumulatively reduce U by
  j         removing the item at that index in the previous value,
   V        with an initial value of V.
     uV   Push V to the beginning of the result.

Alternatively:

uQ åjV

UuQ       Push a quotation mark to the beginning of U.
    å     Cumulatively reduce by
     j      removing the item at that index in the previous value,
      V     with an initial value of V.

This works because removing the item at index " does nothing and so returns the original string.

\$\endgroup\$
6
\$\begingroup\$

Husk, 7 bytes

G§+oh↑↓

Takes first the string, then (1-based) indices. Try it online!

Explanation

G§+oh↑↓
G        Scan from left by function:
           Arguments are string, say s = "abcde", and index, say i = 3.
      ↓    Drop i elements: "de"
     ↑     Take i elements
   oh      and drop the last one: "ab"
 §+        Concatenate: "abde"
         Implicitly print list of strings on separate lines.
\$\endgroup\$
3
  • \$\begingroup\$ How do I use an empty list of indices x? \$\endgroup\$
    – miles
    Aug 11, 2017 at 17:07
  • \$\begingroup\$ @miles You have to specify the type, like this. \$\endgroup\$
    – Zgarb
    Aug 11, 2017 at 17:09
  • \$\begingroup\$ I see, thanks. I'm not very familiar with either Haskell or Husk. \$\endgroup\$
    – miles
    Aug 11, 2017 at 17:10
6
\$\begingroup\$

Python 2, 43 bytes

s,i=input()
for i in i+[0]:print s;s.pop(i)

Try it online!

Any form of output is fine as long as it is easily readable.

So this prints as lists of chars.

\$\endgroup\$
6
  • 1
    \$\begingroup\$ Nice, but why did you choose the notation abuse for i in i+[0]? \$\endgroup\$
    – Mr. Xcoder
    Aug 11, 2017 at 16:12
  • \$\begingroup\$ @Mr.Xcoder Because that way the last line is shown. (and the reason I posted separately in first place) \$\endgroup\$ Aug 11, 2017 at 16:13
  • \$\begingroup\$ No, not +[0], I am talking about for i in i. for k in i is equivalent. \$\endgroup\$
    – Mr. Xcoder
    Aug 11, 2017 at 16:14
  • \$\begingroup\$ @Mr.Xcoder Because I like it that way... \$\endgroup\$ Aug 11, 2017 at 16:14
  • \$\begingroup\$ Ok, just curious... Maybe it was a trick I didn't know of :) \$\endgroup\$
    – Mr. Xcoder
    Aug 11, 2017 at 16:15
5
\$\begingroup\$

Python 2, 47 bytes

This could be shortened to 43 bytes, as @LuisMendo pointed out, but that's already @ErktheOutgolfer's solution.

a,b=input();print a
for i in b:a.pop(i);print a

Try it online!

\$\endgroup\$
8
  • \$\begingroup\$ `a`[2::5] instead ''.join(a) \$\endgroup\$
    – Rod
    Aug 11, 2017 at 16:18
  • \$\begingroup\$ @Rod How does than work? \$\endgroup\$
    – Mr. Xcoder
    Aug 11, 2017 at 16:19
  • \$\begingroup\$ repr and string spliting, works good to turn a list of characters into a string, `a`[1::3] can also be used with a list of digits \$\endgroup\$
    – Rod
    Aug 11, 2017 at 16:21
  • \$\begingroup\$ @Rod I know what they are, I don't understand how ::5 works here :P \$\endgroup\$
    – Mr. Xcoder
    Aug 11, 2017 at 16:22
  • \$\begingroup\$ @Mr.Xcoder well then study string slicing ;) basically it takes every 5th char starting from the 2nd \$\endgroup\$ Aug 11, 2017 at 16:22
4
\$\begingroup\$

Java 8, 78 bytes

This is a curried lambda, from int[] to a consumer of StringBuilder or StringBuffer. Output is printed to standard out.

l->s->{System.out.println(s);for(int i:l)System.out.println(s.delete(i,i+1));}

Try It Online

\$\endgroup\$
2
  • 1
    \$\begingroup\$ Your second answer is a valid entry. Nothing forbids you to carefully select your input type as long as it makes sense. I've several times already taken even Streams as input and got very nice answers. Actually, nearly all golfing languages use streams equivalent internally. So by selecting your input, you just level a tad. +1 nonetheless \$\endgroup\$ Aug 12, 2017 at 14:15
  • \$\begingroup\$ Maybe you're right. I think I tend to be more conservative than most about these things. I'll switch to the second solution. \$\endgroup\$
    – Jakob
    Aug 12, 2017 at 16:31
3
\$\begingroup\$

05AB1E, 11 bytes

v=ā0m0yǝÏ},

Try it online!

v           # For each index:
 =          #   Print without popping
  ā         #   Push range(1, len(a) + 1)
   0m       #   Raise each to the power of 0. 
            #   This gives a list of equal length containing all 1s
     0yǝ    #   Put a 0 at the location that we want to remove
        Ï   #   Keep only the characters that correspond to a 1 in the new list
         }, # Print the last step
\$\endgroup\$
3
  • \$\begingroup\$ The first line isn't there. Oh, and not sure if you can print like that. \$\endgroup\$ Aug 11, 2017 at 16:23
  • \$\begingroup\$ @EriktheOutgolfer Any form of output is fine as long as it is easily readable \$\endgroup\$
    – Riley
    Aug 11, 2017 at 16:28
  • \$\begingroup\$ I can save some bytes then... \$\endgroup\$ Aug 11, 2017 at 16:31
3
\$\begingroup\$

Mathematica, 70 bytes

(s=#;For[t=1,t<=Length@#2,Print@s;s=StringDrop[s,{#2[[t]]+1}];t++];s)&

Try it online!

\$\endgroup\$
3
\$\begingroup\$

R, 46 32 bytes

function(S,X)Reduce(`[`,-X,S,,T)

Try it online!

Takes input as a list of characters and X is 1-based. Reduce is the R equivalent of fold, the function in this case is [ which is subset. Iterates over -X because negative indexing in R removes the element, and init is set to S, with accum=TRUE so we accumulate the intermediate results.

R, 80 bytes

function(S,X,g=substring)Reduce(function(s,i)paste0(g(s,0,i-1),g(s,i+1)),X,S,,T)

2-argument function, takes X 1-indexed. Takes S as a string.

Try it online!

\$\endgroup\$
1
  • \$\begingroup\$ Very smart to use Reduce here. Well done! \$\endgroup\$
    – djhurio
    Aug 12, 2017 at 18:25
3
\$\begingroup\$

Haskell, 33 bytes

scanl(\s i->take i s++drop(i+1)s)

Try it online!

\$\endgroup\$
3
\$\begingroup\$

q/kdb+, 27 10 bytes

Solution:

{x _\0N,y}

Examples:

q){x _\0N,y}["codegolf";1 4 4 0 2]
"codegolf"
"cdegolf"
"cdeglf"
"cdegf"
"degf"
"def"
q){x _\0N,y}["abc";0]
"abc"
"bc"
q){x _\0N,y}["abc";()]
"abc"
q){x _\0N,y}["abc";2 0 0]
"abc"
"ab"
,"b"
""    
q){x _\0N,y}["";()]
""

Explanation:

Takes advantage of the converge functionality \ as well as drop _.

{x _\0N,y}
{        } / lambda function, x and y are implicit variables
     0N,y  / join null to the front of list (y), drop null does nothing
   _\      / drop over (until result converges) printing each stage
 x         / the string (need the space as x_ could be a variable name)

Notes:

If we didn't need to print the original result, this would be 2 bytes in q:

q)_\["codegolfing";10 9 8 3 2 1 0]
"codegolfin"
"codegolfi"
"codegolf"
"codgolf"
"cogolf"
"cgolf"
"golf"
\$\endgroup\$
3
\$\begingroup\$

PowerShell, 94 84 bytes

param($s,$x)$a=[Collections.Generic.list[char]]$s;$x|%{-join$a;,$a|% r*t $_};-join$a

Try it online!

Takes input $s as a string and $x as an explicit array. We then create $a based on $s as a list.

Arrays in PowerShell are fixed size (for our purposes here), so we need to use the lengthy [System.Collections.Generic.list] type in order to get access to the .removeAt() function, which does exactly what it says on the tin.

I sacrificed 10 bytes to include two -join statements to make the output pretty. OP has stated that outputting a list of chars is fine, so I could output just $a rather than -join$a, but that's really ugly in my opinion.

Saved 10 bytes thanks to briantist.

\$\endgroup\$
3
  • \$\begingroup\$ You can leave off System and just use [Collections.Generic.list[char]]. To keep it pretty without sacrificing bytes, you can put the last -join$a in the footer in TIO. \$\endgroup\$
    – briantist
    Aug 11, 2017 at 22:25
  • \$\begingroup\$ I think you can also save 3 bytes by changing $a.removeat($_) to ,$a|% r*t $_. \$\endgroup\$
    – briantist
    Aug 11, 2017 at 22:52
  • \$\begingroup\$ @briantist Thanks for those - I always forget to remove System from the class name. Sadly the last -join$a is necessary for the code, so I can't move it to the footer. \$\endgroup\$ Aug 14, 2017 at 14:10
2
\$\begingroup\$

Python 2, 50 bytes

  • Takes in string and list of indices
s,i=input()
for j in i+[0]:print s;s=s[:j]+s[j+1:]

Try it online!

\$\endgroup\$
2
\$\begingroup\$

C (gcc), 99 bytes

j;f(s,a,i)char*s;int*a;{puts(s);for(j=0;j<i;j++){memmove(s+a[j],s+a[j]+1,strlen(s)-a[j]);puts(s);}}

Try it online!

Takes the string, array, and the length of the array.

\$\endgroup\$
1
2
\$\begingroup\$

05AB1E, 9 7 bytes

=svõyǝ=

Try it online!


=s        # Print original string, swap with indices.
  v       # Loop through indices...
   õyǝ    # Replace current index with empty string.

-2 thanks to idea from @ETHProductions.

\$\endgroup\$
8
  • \$\begingroup\$ This doesn't print anything if x is empty. \$\endgroup\$
    – Riley
    Aug 11, 2017 at 16:30
  • \$\begingroup\$ @Riley fixed. (#ETHProductions fixed.) \$\endgroup\$ Aug 11, 2017 at 16:32
  • 1
    \$\begingroup\$ Couldn't you just do =sv""yǝ= or something similar instead of replacing with a newline and then removing the newline? \$\endgroup\$ Aug 11, 2017 at 17:19
  • \$\begingroup\$ @ETHproductions õ also works :) \$\endgroup\$ Aug 11, 2017 at 17:35
  • \$\begingroup\$ Well I don't know 05AB1E, haha \$\endgroup\$ Aug 11, 2017 at 17:38
2
\$\begingroup\$

Retina, 58 bytes

¶\d+
¶¶1$&$*
+1`(?=.*¶¶.(.)*)(((?<-1>.)*).(.*)¶)¶.*
$2$3$4

Try it online! Explanation:

¶\d+

Match the indices (which are never on the first line, so are always preceded by a newline).

¶¶1$&$*

Double-space the indices, convert to unary, and add 1 (because zeros are hard in Retina).

+1`

Repeatedly change the first match, which is always the current value of the string.

   (?=.*¶¶.(.)*)

Retrieve the next index in $#1.

                (           .    ¶)

Capture the string, including the $#1th character and one newline.

                 ((?<-1>.)*) (.*)

Separately capture the prefix and suffix of the $#1th character of the string.

                                   ¶.*

Match the index.

$2$3$4

Replace the string with itself and the index with the prefix and suffix of the $#1th character.

\$\endgroup\$
2
\$\begingroup\$

Pyth, 8 bytes

.u.DNYEz

Demonstration

Reduce, starting with the string and iterating over the list of indices, on the deletion function.

\$\endgroup\$
2
\$\begingroup\$

PowerShell, 54 58 bytes

param($s,$x),-1+$x|%{$z=$_;$i=0;-join($s=$s|?{$z-ne$i++})}

Try it online!

Explanation

Takes input as a char array ([char[]]).

Iterates through the array of indices ($x) plus an injected first element of -1, then for each one, assigns the current element to $z, initializes $i to 0, then iterates through the array of characters ($s), returning a new array of only the characters whose index ($i) does not equal (-ne) the current index to exclude ($z). This new array is assigned back to $s, while simultaneously being returned (this happens when the assignment is done in parentheses). That returned result is -joined to form a string which is sent out to the pipeline.

Injecting -1 at the beginning ensures that the original string will be printed, since it's the first element and an index will never match -1.

\$\endgroup\$
1
  • 1
    \$\begingroup\$ Very clever way of pulling out the appropriate indices. \$\endgroup\$ Aug 15, 2017 at 13:14
2
\$\begingroup\$

Perl 5, 55 bytes (54 + "-l")

sub{print($s=shift);for(@_){substr$s,$_,1,"";print$s}}

Try it online!

\$\endgroup\$
3
  • \$\begingroup\$ Nice! I came up with a very similar approach, but as a full program (using -pa) for 44 bytes: $_=<>;substr$_,shift@F,print,""while@F&&$_ \$\endgroup\$ Aug 14, 2017 at 8:35
  • \$\begingroup\$ Nice! Not sure you need the final &&$_ since you can assume the input is valid (the list of indices can't be longer than the string). Using the return value of print as the number of characters is quite slick. \$\endgroup\$
    – aschepler
    Aug 14, 2017 at 12:14
  • \$\begingroup\$ Ah, that's true! I didn't notice that part of the spec! I thought my answer was far too similar to yours to post separately though! \$\endgroup\$ Aug 14, 2017 at 18:23
2
\$\begingroup\$

MATL, 8 bytes

ii"t[]@(

Indexing is 1-based.

Try it online! Or verify the test cases.

Explanation

i      % Input string. Input has to be done explicitly so that the string
       % will be displayed even if the row vector of indices is empty
i      % Input row vector of indices
"      % For each
  t    %   Duplicate current string
  []   %   Push empty array
  @    %   Push current index
  (    %   Assignment indexing: write [] to string at specified index
       % End (implicit). Display stack (implicit)
\$\endgroup\$
2
\$\begingroup\$

C# (.NET Core), 87 87 74 70 bytes

S=>I=>{for(int i=0;;S=S.Remove(I[i++],1))System.Console.WriteLine(S);}

Try it online!

Just goes to show that recursion isn't always the best solution. This is actually shorter than my original invalid answer. Still prints to STDOUT rather than returning, which is necessary because it ends with an error.

-4 bytes thanks to TheLethalCoder

\$\endgroup\$
5
  • \$\begingroup\$ Per a recent meta consensus (that I can't find) recursive lambdas in C# are disallowed unless you specify what they compile to in the byte count. Therefore, a full method is shorter in this case. I am downvoting until this is fixed, let me know when. \$\endgroup\$ Aug 14, 2017 at 8:07
  • \$\begingroup\$ @TheLethalCoder I may not agree with the consensus, but it does seem to be consensus. I've updated my answer. \$\endgroup\$ Aug 14, 2017 at 13:18
  • \$\begingroup\$ 70 bytes. Use currying and move one statement into the loop to stop needing the loop braces. \$\endgroup\$ Aug 15, 2017 at 15:05
  • \$\begingroup\$ @TheLethalCoder Ah, so THAT's how you use currying in C#! I knew it was shorter for exactly two arguments, but it always ended up complaining about some part of my syntax. Thanks for the improvements \$\endgroup\$ Aug 15, 2017 at 15:30
  • \$\begingroup\$ No worries and yeah the first one must always be a Func that returns the other Func, Action, Predicate,... \$\endgroup\$ Aug 15, 2017 at 15:38
2
\$\begingroup\$

J, 23 bytes

>@({&.>/\.&.|.@;<^:4"0)

Try it online!

\$\endgroup\$
1
  • \$\begingroup\$ Brilliant use of negative boxing. \$\endgroup\$
    – Jonah
    Jun 29, 2022 at 16:06
2
\$\begingroup\$

Vyxal o, 4 bytes

(…n⟇

Try it Online!

Prints lists of chars

(…n⟇ # 'o' flag forces output of the last value
(    # For every number in the list...
 …   # Print the string without popping
  n  # Get the current value
   ⟇ # Remove the char at the index
     # The result is printed on next iteration
\$\endgroup\$
1
\$\begingroup\$

Pyth, 10 bytes

Rule changes saved me 1 byte:

V+E0Q .(QN

Try it online!

Pyth, 11 bytes

V+E0sQ .(QN

Try it online!

\$\endgroup\$
3
  • \$\begingroup\$ @miles isn't stderr output allowed by default? \$\endgroup\$ Aug 11, 2017 at 16:29
  • \$\begingroup\$ @Mr.Xcoder I thought stderr output was ignored in that case... \$\endgroup\$ Aug 11, 2017 at 16:31
  • \$\begingroup\$ @miles I will remove mine and flag it to a mod if we do not remove them. Thanks! \$\endgroup\$
    – Mr. Xcoder
    Aug 11, 2017 at 16:36
1
\$\begingroup\$

Gaia, 9 bytes

+⟪Seḥ+⟫⊣ṣ

I should really add a "delete at index" function...

Try it online!

Explanation

+          Add the string to the list
 ⟪Seḥ+⟫⊣   Cumulatively reduce by this block:
  S         Split around index n
   e        Dump the list
    ḥ       Remove the first char of the second part
     +      Concatenate back together
        ṣ  Join the result with newlines
\$\endgroup\$
1
\$\begingroup\$

V, 12 bytes

òdt,GÙ@-|xHx

Try it online!

This is 1-indexed, input is like:

11,10,9,4,3,2,1,
codegolfing

Explanation

ò              ' <M-r>ecursively until error
 dt,           ' (d)elete (t)o the next , (errors when no more commas)
    G          ' (G)oto the last line
     Ù         ' Duplicate it down
        |      ' Goto column ...
      @-       ' (deleted number from the short register)
         x     ' And delete the character there
          H    ' Go back home
           x   ' And delete the comma that I missed
\$\endgroup\$
3
  • \$\begingroup\$ How do I use an empty list of indices x? \$\endgroup\$
    – miles
    Aug 11, 2017 at 17:08
  • \$\begingroup\$ @miles By adding a few bytes :). Simply an empty first line will now work. Would you be OK if I took lists with a trailing comma? IE 1,2,3,. Empty list would be nothing, Singleton would be 1, \$\endgroup\$
    – nmjcman101
    Aug 11, 2017 at 17:19
  • \$\begingroup\$ Sure, you can use that input format. \$\endgroup\$
    – miles
    Aug 11, 2017 at 17:22
1
\$\begingroup\$

Swift 3, 80 bytes

func f(l:[String],c:[Int]){var t=l;for i in c{print(t);t.remove(at:i)};print(t)}

Try it online!

\$\endgroup\$
0
1
\$\begingroup\$

Pyth, 8 bytes

+zm=z.Dz

Test suite!

explanation

+zm=z.DzdQ    # implicit: input and iteration variable
  m      Q    # for each of the elements of the first input (the array of numbers, Q)
     .Dzd     # remove that index from the second input (the string, z)
   =z         # Store that new value in z
+z            # prepend the starting value
\$\endgroup\$
1
\$\begingroup\$

Python 2, 54

X,S=input()
for a in X:
    print S
    S=S[:a]+S[a+1:]
print S

Try It Online

\$\endgroup\$
2
  • \$\begingroup\$ I only see the last string in the output. \$\endgroup\$
    – miles
    Aug 11, 2017 at 16:40
  • \$\begingroup\$ I messed up... One moment... \$\endgroup\$ Aug 11, 2017 at 16:40

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.