PRAGYANical Strings
CodeChefOpen on judge ↗
Problem Statement Given a string S, you have to find the Pragyanically smallest string which is not a substring in the given string. This task is too easy for you. Here's the catch. The Pragyanical order of the strings is the one you see in the column names of an Excel spreadsheet i.e a Input First line consists of a integer T denoting number of test cases. Then T lines follow where each line
HINT LADDERno hints yet
L1 Observation
L2 Technique
L3 Approach
L4 Pseudo-code
🔒
L5 Full solution
L5 unlocks only if you insist twice
solution.cppC++17
CodeSearch Tutor
Hints, not spoilers — it won’t hand over the full solution unless you insist.
Sign in to chat with the tutor and save your progress.
Sign in to start