---
title: "Comment by Sholanki Biswas on \"How to find the number of unique elements in a sorted array\" | Hashnode"
description: "Looking forward to your algorithm challenges. The happy-path solution stuck with me because sometimes just for providing a solution, happy-path solution is chos"
url: "https://hashnode.com/posts/how-to-find-the-number-of-unique-elements-in-a-sorted-array/6073f796ef8a3517364f9458/comment/6087bdf7a826f80aaefecbf3"
---

[Discussion](https://hashnode.com/posts/how-to-find-the-number-of-unique-elements-in-a-sorted-array/6073f796ef8a3517364f9458)

Comment [How to find the number of unique elements in a sorted array](https://hashnode.com/posts/how-to-find-the-number-of-unique-elements-in-a-sorted-array/6073f796ef8a3517364f9458)

[Sholanki Biswas](https://hashnode.com/@ShoBiz)

[Apr 27, 2021](https://hashnode.com/posts/how-to-find-the-number-of-unique-elements-in-a-sorted-array/6073f796ef8a3517364f9458/comment/6087bdf7a826f80aaefecbf3)

Looking forward to your algorithm challenges. The happy-path solution stuck with me because sometimes just for providing a solution, happy-path solution is chosen and the robustness is forgotten as a quick fix which leads to sleepless nights later on in a project. Thanks for the write-up!
