library(tidyverse)
library(lubridate)

#Problem 1 :

#Problem 2 :

##  [1] "bell pepper"  "bilberry"     "blackberry"   "blood orange" "blueberry"   
##  [6] "cantaloupe"   "chili pepper" "cloudberry"   "elderberry"   "lime"        
## [11] "lychee"       "mulberry"     "olive"        "salal berry"

#Problem 3 :

(.)\1\1 - Any two characters that repeats in the reverse order. “(.)(.)\2\1” - Any two characters that repeats in the same order. “(.).\1.\1” - Any single character that repeats two more times, with each repetition after another single variable character. “(.)(.)(.).*\3\2\1” - Any three characters that repeat in the reverse order after any number of variable characters.

#Problem 4 :

#Start and end with the same character:

## [1] │ <eye>

#Contain a repeated pair of letters (e.g. “church” contains “ch” repeated twice.)

## [1] │ <church>
## [1] │ <eleve>n