Collection Of Letters Easy

+50 PTS

Before you start the test, check out our tutorial challenge

  • TYPE CODE PRACTICE CHALLENGE
  • LANGUAGES BASH, C, C++, C# AND 21 MORE
    LANGUAGES BASH, C, C++, C#, CLOJURE, ELIXIR, ERLANG, GO, GROOVY, HASKELL, JAVA, JAVASCRIPT, JULIA, KOTLIN, NIM, PERL, PHP, PYTHON2, PYTHON, RUBY, RUST, SCALA, SWIFT, TYPESCRIPT, VB
  • TIME ~10MIN

Collection Of Letters

Challenge outline

Hello and welcome to the challenge!


Write a code which takes two strings and returns another string consisting of letters used in these two strings in alphabetical order. Use each letter only once.

Input

  • string A
  • string B

Output

  • the output string

Constraints

  • 1 <= length of A+B <= 2000


You can solve this programming contest in C#, C++, Java, Ruby, JavaScript, Python, PHP and many more languages. If you want, you can also take part in other July 2019 competitions. Below you can find some of them:



Did you like this challenge and would like to try your hand at some interesting big programming competitions? Check what’s all over the news in tech world in July 2019 in our article with upcoming IT Conferences, Hackathons and Online Challenges in July 2019.


Have fun and good luck! :)