---
title: "Discussion on \"Convert Sorted List to Binary Search Tree\" | Hashnode"
description: "Discussion on \"Convert Sorted List to Binary Search Tree\". Problem Statement\nGiven the head of a singly linked list where elements are sorted in ascending order, convert it to a height-balanced BST.\nFor this problem, a height-balanced binary tree is defined as a binary tree in which the depth of the two subt..."
url: "https://hashnode.com/posts/convert-sorted-list-to-binary-search-tree/6093af14a7a3827bb64cdbfc"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Convert Sorted List to Binary Search Tree](https://blog.heycoach.in/convert-sorted-list-to-binary-search-tree?utm_source=hashnode&utm_medium=feed)

Problem Statement Given the head of a singly linked list where elements are sorted in ascending order, convert it to a height-balanced BST. For this problem, a height-balanced binary tree is defined as a binary tree in which the depth of the two subt...

May 6, 2021 · 2 min read · blog.heycoach.in  
Read the article

-   [#programming](https://hashnode.com/tag/programming)

## Written by

[HeyCoach](https://hashnode.com/@heycoach)

@heycoach

  
[View profile](https://hashnode.com/@heycoach)

Personalized Tech Interview Coaching

## Responses 1

Markdown supported · ⌘↵ to post

[Omotoso Daniel Ayodeji](https://hashnode.com/@Ayodeji)

[May 6, 2021](https://hashnode.com/posts/convert-sorted-list-to-binary-search-tree/6093af14a7a3827bb64cdbfc/comment/6093c79aa7a3827bb64cddc3)

Awesome, but a bit more explanation will make it more awesome.

[HeyCoach](https://hashnode.com/@heycoach)

[May 6, 2021](https://hashnode.com/posts/convert-sorted-list-to-binary-search-tree/6093af14a7a3827bb64cdbfc/comment/6093c79aa7a3827bb64cddc3#reply-6094589ad1bbc47b91a67537)

Thank You for your feedback. Will surely take care next time.
