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

Tag

# #daily-coding-problem

2 posts · 1 followers

[Sirisha Challagiri](https://hashnode.com/@Siri2316) · [Dec 7, 2023](https://hashnode.com/posts/amazon-how-many-xs-in-a-range/6571851ed21f8935942f3f0d)

### [Amazon - How Many X’s In a Range](https://sirishachallagiri.hashnode.dev/amazon-how-many-xs-in-a-range?utm_source=hashnode&utm_medium=feed)

Given two integers L, R, and digit X. Find the number of occurrences of X in all the numbers in the range (L, R) excluding L and R. Example 1: Input: L=10, R=19, X=1 Output: 9 Explanation: There are 9 1s (11, 12, 13, 14, 15, 16, 17, 18) in the number...

2 min read · [sirishachallagiri.hashnode.dev](https://sirishachallagiri.hashnode.dev/amazon-how-many-xs-in-a-range?utm_source=hashnode&utm_medium=feed)
