Skip to content
Related Articles

Related Articles

GATE | GATE-CS-2015 (Set 3) | Question 15

View Discussion
Improve Article
Save Article
  • Difficulty Level : Basic
  • Last Updated : 28 Jun, 2021
View Discussion
Improve Article
Save Article

The number of 4 digit numbers having their digits in non-decreasing order (from left to right) constructed by using the digits belonging to the set {1, 2, 3} is ____.
(A) 12
(B) 13
(C) 14
(D) 15


Answer: (D)

Explanation: {1, 1, 1, 1}
{1, 1, 1, 2}
{1, 1, 1, 3}
{1, 1, 2, 2}
{1, 1, 2, 3}
{1, 1, 3, 3}
{1, 2, 2, 2}
{1, 2, 2, 3}
{1, 2, 3, 3}
{1, 3, 3, 3}

{2, 2, 2, 2}
{2, 2, 2, 3}
{2, 2, 3, 3}
{2, 3, 3, 3}

{3, 3, 3, 3}


Quiz of this Question

My Personal Notes arrow_drop_up
Recommended Articles
Page :

Start Your Coding Journey Now!