lets say i have 1 linklist with diffrent numbers
how can i make 2 lists from 1 single list
1 list to odd numbers
and the second one from even numbers.
tnx for helpers appricate have a great day guys
Another way would be to simply take all the odd elements from the original list (erasing them from the list) and put them into a new list. This leaves you with the original list containing even numbers and the new list creating odd numbers.
Of course, if you want to keep the original list as it is, this may not be the preferred solution.