# Find an element in a sequence

Revision as of 19:53, 1 October 2014 by Cuozzo (talk | contribs) (Created page with "__NOTOC__ Category:Checkup Category:Algorithmic Problem Category:Basic Problems on Sequences ==Input== # A sequence <math>S</math>. # an element <math>x</math> of...")

## Input

- A sequence [math]S[/math].
- an element [math]x[/math] of the component type of [math]S[/math].

## Output

A boolean value:

- [math]true[/math], if [math]x[/math] is currently in [math]S[/math],
- [math]false[/math], otherwise.

## Objective

N/A

## Complexity

Linear