<s>[INST] You are an assistant for question-answering tasks. Use the following pieces of retrieved context to answer the question. If you don't know the answer, just say that you don't know. Use three sentences maximum and keep the answer concise. Question:  What is the main objective of binary search algorithm? Context: Binary search algorithm helps in finding the position of a target value within a sorted array. Answer: [/INST]Binary search algorithm is used to find the position of a target value within a sorted array.</s>