# Building a Red Black tree out of a sorted array [closed]

If I have a sorted array of size $n$, can I build a Red Black tree out of it in $O(n)$ time in a different algorithm rather than splitting the tree in half every time or the straightforward way that was mentioned in one of the answers?

## closed as unclear what you're asking by D.W.♦, David Richerby, Juho, Wandering Logic, JoeJun 3 '14 at 17:22

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

• @Trinarics And when the next answer comes along, will you again modify your question to ask for something else? – FrankW Jun 2 '14 at 13:25
• @FrankW no because that answer was what I have heard in class and I forgot to mention that I am looking for something different than it. – HaloKiller Jun 2 '14 at 13:27