Is it better to complete your work task by task or work on the end goal? interview quesion code example

Example: how do you prioritize your work

"Time to time we have multiple conflicting priorities where it
can be difficult to know what is most important and urgent. I
work out an important/urgent scale for rating tasks so that it is
clear what takes the highest priority. Sometimes I get help
from our team lead or PO for rating.
If something is both important and urgent, it gets highest
priority. Important but not urgent is next and urgent but not
important is next, then not important and not urgent is last.
If I need to get in details, I follow up following steps;
Collect a list of all my tasks and make a to-do list
Identify URGENT vs IMPORTANT -> Most of the tasks are
important but only some of them are time-sensitive.
Assess value -> Estimate the time, effort and resources needed
for each task
Know when to cut -> Mostly can't get to everything on my list.
After I prioritize my tasks and look at my estimates,
I cut the remaining tasks from my list and focus on the priorities
that I must and can complete for the day. Then I take a deep
breath, dive in and be ready for everything.

Tags:

Misc Example