Results 1 to 5 of 5

Thread: How do you print duplicate characters from a string?

  1. #1
    Registered
    Join Date
    Jun 2017
    Posts
    182

    How do you print duplicate characters from a string?

    Hello friends,

    How do you print duplicate characters from a string?

  2. #2

  3. #3

  4. #4
    Registered
    Join Date
    Jun 2019
    Posts
    45
    Algorithm: Let the input string be “geeks for geeks”
    1: Construct a character count array from the input string.

    count[‘e’] = 4
    count[‘g’] = 2
    count[‘k’] = 2
    ……

  5. #5
    Registered
    Join Date
    Jun 2019
    Posts
    45

    how do you print a duplicate character from string!!

    Algorithm: Let the input string be �geeks for geeks�
    1: Construct a character count array from the input string.

    count[�e�] = 4
    count[�g�] = 2
    count[�k�] = 2
    ��

Similar Threads

  1. Replies: 4
    Last Post: 06-10-2019, 10:28 AM
  2. How many characters are allowed in Adword ads?
    By ImpalaWardrobes in forum Search Engine Optimization
    Replies: 3
    Last Post: 05-24-2019, 02:10 AM
  3. What is referrer string?
    By access1solution in forum Search Engine Optimization
    Replies: 1
    Last Post: 09-19-2016, 02:25 AM
  4. String Replace Help in PHP
    By Emancipator in forum Website Programming & Databases
    Replies: 6
    Last Post: 07-21-2006, 08:36 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •