---
title: "#lower-bound articles | Hashnode"
description: "Explore 1 articles tagged #lower-bound on Hashnode. Tutorials, guides, and how-tos from the community."
url: "https://hashnode.com/tag/lower-bound"
---

Tag

# #lower-bound

1 posts · 0 followers

[Chetan Datta](https://hashnode.com/@chetan77) · [Mar 12, 2024](https://hashnode.com/posts/34/65f02006321350f1ca8ea71e)

### [34\. Find First and Last Position of Element in Sorted Array](https://chetan77.hashnode.dev/34?utm_source=hashnode&utm_medium=feed)

Given an array of integers nums sorted in non-decreasing order, find the starting and ending position of a given target value. If target is not found in the array, return \[-1, -1\]. You must write an algorithm with O(log n) runtime complexity. (link) ...

3 min read · [chetan77.hashnode.dev](https://chetan77.hashnode.dev/34?utm_source=hashnode&utm_medium=feed)
