Welcome, guest! Login / Register - Why register?
Psst.. new poll here.
Psst.. new forums here.
Microsoft is blocking us again (TY IP Reputation!) so just use oauth login instead. :)

Paste

Pasted as Java by fsdf ( 15 years ago )
public IntList copyRange(int start, int end) {
        int j=0;
        IntList a= new IntList(this.get(start).info,null);
        for(IntList p=this.get(start+1);p!=null;p=p.next) {
            a.append(p.info);
            System.out.print(p.info);
        }
        
        IntList b= this.get(end);
        b.next= null;
        
        return a;
    }

 

Revise this Paste

Children: 35357 35360
Your Name: Code Language: