What is the best way to cook a steak?
Because tastes differs, there are no best way to cook a steak.

Here are some optimized ways to cook steak.

Fastest way to cook a steak - cast iron skillet.  Pan sear room temperature steak in a host cast iron skillet; sear the steak on both sides; baste with melted butter / herbs until done to the desired doneness; rest/cut/serve.

Most consistent way to cook a steak - sou vide followed by flame torch the exterior.  Season steak on both sides / edges; put into vacuum bag, vacuum bag, put under sous vide water bath at 130F for 1-4 hours; take it out of the bag, pat dry; use flame torch to char both sides; rest/cut/serve.

Most scientific way to cook a steak - cold sear.  Put steak into non-sticking pan on high for 2 minutes; flip once and cook for another 2 minutes; reduce heat to medium low, flip and cook for another 2 minutes; flip and cook for another 2 minutes; keep on flipping / cooking for 2 minutes until reaching desired doneness; season; rest/cut/serve.