PureCode Software Interview Question

How would you optimise the prompt to accommodate large context?