Select the figure from among the given options that can replace the question mark (?) in the following series.

Show answer & explanation
Correct answer: B
Explanation
The correct answer is option 2 i.e. 
Logic: The line increases by one in each step from left to right, and the line becomes vertical and horizontal alternatively.