---
title: "Discussion on \"Set Mismatch\" | Hashnode"
description: "Discussion on \"Set Mismatch\". You have a set of integers s, which originally contains all the numbers from 1 to n. Unfortunately, due to some error, one of the numbers in s got duplicated to another number in the set, which results in repetition of one number and loss of another ..."
url: "https://hashnode.com/posts/set-mismatch/630b206f43d7308e3e322acd"
---

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

Discussion

# [Set Mismatch](https://awsbuilder.hashnode.dev/set-mismatch?utm_source=hashnode&utm_medium=feed)

You have a set of integers s, which originally contains all the numbers from 1 to n. Unfortunately, due to some error, one of the numbers in s got duplicated to another number in the set, which results in repetition of one number and loss of another ...

Aug 28, 2022 · 1 min read · awsbuilder.hashnode.dev  
Read the article

-   [#leetcode-solution](https://hashnode.com/tag/leetcode-solution)
-   [#python](https://hashnode.com/tag/python)

## Written by

[Salah Elhossiny](https://hashnode.com/@Salah856)

@Salah856 · Egypt

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

ML Specialist @Bullzaye.ai

AWS Community Builder, AWS ML Specialist, Full-Stack Developer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
