Post Reply 
Programming puzzles: processing lists!
10-31-2017, 10:43 AM
Post: #214
RE: Programming puzzles: processing lists!
Say one has a list with values, of which one appears several times and one wish to remove it.

Fastest way to remove it?
Most compact way?

My quick idea for the moment is something on the line:

- convert the list in a string
- string replace the value
- convert the string back to a list

Since I got impressed by the string operations on the 50g when I am too dumb to think too much and the operation is relatively simple, I put the list in string format for bulk operations.

Wikis are great, Contribute :)
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Programming puzzles: processing lists! - pier4r - 10-31-2017 10:43 AM



User(s) browsing this thread: 4 Guest(s)