Path: csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!nx02.iad01.newshosting.com!newshosting.com!69.16.185.11.MISMATCH!npeer01.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail From: Lew Newsgroups: comp.lang.java.programmer Subject: Re: Delete slot in the middle of an array and shift remaining Date: Fri, 25 Nov 2011 11:26:23 -0800 (PST) Organization: http://groups.google.com Lines: 22 Message-ID: <5805265.797.1322249183630.JavaMail.geo-discussion-forums@prnu24> References: <4ecf7078$0$6582$9b4e6d93@newsspool3.arcor-online.net> <20684688.629.1322220072927.JavaMail.geo-discussion-forums@prnh1> <8-GdnXrqhJJORlLTnZ2dnUVZ_rqdnZ2d@earthlink.com> Reply-To: comp.lang.java.programmer@googlegroups.com NNTP-Posting-Host: 173.164.137.214 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: posting.google.com 1322249293 24903 127.0.0.1 (25 Nov 2011 19:28:13 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Fri, 25 Nov 2011 19:28:13 +0000 (UTC) In-Reply-To: <8-GdnXrqhJJORlLTnZ2dnUVZ_rqdnZ2d@earthlink.com> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=173.164.137.214; posting-account=CP-lKQoAAAAGtB5diOuGlDQk0jIwmH0T User-Agent: G2/1.0 X-Google-Web-Client: true Xref: x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:10231 Patricia Shanahan wrote: > Magnus Warker wrote: >> Lew wrote: >>> Sven Fischer wrote: > >> You should post complete, compilable code in the future. See > >> http://sscce.org/ > > > > Why? He asked for an algorithm. > > I agree. However, for anyone who feels really strongly that they need an > SSCCE to even look at a question, here is one based on the original article: For the record, as I explained earlier I did not suggest an SSCCE because I feel ("really strongly" or otherwise) that I "need an SSCCE even to look at a question", but for pedagogical purposes specific to the OP's situation. The value of the SSCCE isn't achieved by your providing it, but by the OP going through the exercise. Thanks for the good example, but I hope the OP doesn't just skip the work because they think your answer is enough for them. It isn't. -- Lew