InterviewBit Problems   Smallest sequence with given Primes : Solved

About the Smallest sequence with given Primes : Solved category (1)
Java easy solution! (1)
Simple and sweet solution: (5)
C++ easy to grasp code + comments (1)
C++ concise solution (1)
C++ o(n) happy coding (2)
Easy BFS Solution in C++ (2)
Python O(n) time and space (1)
Same as ugly numbers (1)
Any recursion solution for this? (2)
Fast and Furious Solution 😂 (2)
Easy c++ solution with only a vector and integers (1)
JAVA | BFS | Priority Queue| Solution (1)
Solution involved Heap, no BFS needed, C++ (1)
Solved using ordered set in cpp (1)
JAVA solution using TreeSet (1)
Accepted Python solution (2)
Can anyone explain the Solution Approach? (1)