austinpowers
Electrical
how to search for some sequence in an single dimension array,
suppose i have an array with elements
[4 3 1 6 2 5]
and i want to search whether element 1 comes before 2 or not
so i want to search for sequence 1 2
suppose i have an array with elements
[4 3 1 6 2 5]
and i want to search whether element 1 comes before 2 or not
so i want to search for sequence 1 2