# Longest or shortest string in a vector

* max
* min
* max_by
* min_by
* cmp

* max and min abc order
* max and min by length

{% embed include file="src/examples/vectors/get-longest-string/src/main.rs" %}
{% embed include file="src/examples/vectors/get-longest-string/out.out" %}


