Skip to content

SimpleTechTalks

To make technologies simpler

  • Home
  • Data Structures
    • Linked List
    • Graph
    • Hashing
    • Stack
    • Queue
    • Priority Queue
    • Tree
      • Binary Tree
      • Binary Search Tree
    • wordpress
  • Programming
    • Unix
    • Dynamic Programming
    • C
    • C++
      • C++11
    • Python
  • Technology
    • Diameter
    • Microservices
    • Networking
    • Telecom
    • Tools
  • Questions & Answers
    • Programming Questions
    • Interview Questions
  • Contact Us
  • Home
  • Data Structures
    • Linked List
    • Graph
    • Hashing
    • Stack
    • Queue
    • Priority Queue
    • Tree
      • Binary Tree
      • Binary Search Tree
    • wordpress
  • Programming
    • Unix
    • Dynamic Programming
    • C
    • C++
      • C++11
    • Python
  • Technology
    • Diameter
    • Microservices
    • Networking
    • Telecom
    • Tools
  • Questions & Answers
    • Programming Questions
    • Interview Questions
  • Contact Us

Tag: Duplicate number in array

Programming Questions

Find Missing and Duplicate Number In An Array

adminby admin

Given an unsorted array of size n. Array elements are in range from 1 to n. One number from set {1, 2, …n} is missing and one number occurs twice in array. We must write a program to find the missing and duplicate numbers. For eg:

Int a[] = {1,2,3,4,6,7,8,9,10,4}; 

As you can see in above example, missing number is “5” and duplicate number is “4”.

(more…)
Find Missing and Duplicate Number In An Array Read More

Search

  • Difference Between Friend Function and Member Function
  • C++11: extern template Explained With Simple Example
  • Binary Search Tree Deletion Of Node Explained With Simple Example
  • Diameter Protocol Basics
  • AVL Tree Deletion Of Node Explained With Simple Example
  • AVL Tree Explanation With Simple Examples
  • Topological Sort Explained With Simple Example
  • std::bitset explained with simple example
  • C++11: Uniform Initialization explained with Simple example
  • Binary Tree Inorder Traversal Explained With Simple Example
Copyright © 2025 SimpleTechTalks. Privacy Policy