Introduction
"Common Code for Multiple Words" problems-ல் பல small phrases அல்லது sentences- க்கு codes கொடுக்கப்படுகின்றன; ஒவ்வொரு word/token-க்கும் எந்த sub-code சேர்க்கப்படுகிறது என்பதை நீங்கள் கண்டறிய வேண்டும். இந்த கேள்விகள் multiple examples-ஐ ஒப்பிட்டு common parts-ஐ தனியாக்கி, ஒவ்வொரு word-க்கும் ஒரு stable code assign செய்வதைச் சோதிக்கின்றன - competitive exams reasoning பகுதியில் இது மிகவும் பொதுவாக வருகிறது.
இந்த pattern systematic comparison மற்றும் elimination திறனை மேம்படுத்துகிறது: பல coded phrases ஒரே words-ஐ share செய்தால், overlaps அந்த word-ன் code-ஐ வெளிப்படுத்துகிறது.
Pattern: Common Code for Multiple Words
Pattern
முக்கிய கருத்து: ஒரு phrase-ல் உள்ள ஒவ்வொரு distinct word/token-க்கும் ஒரு consistent sub-code (letter, number, symbol, அல்லது block) இருக்கும். Shared words உள்ள phrases-ஐ compare செய்தால் intersection மற்றும் difference logic மூலம் ஒவ்வொரு word-ன் sub-code-ஐ கண்டறியலாம்.
ஒவ்வொரு முறையும் கவனிக்க வேண்டியவை:
- Common words: இரண்டு coded phrases-ல் ஒரே word இருந்தால், அது வரும் sub-code-வும் common-ஆகத் தோன்றும்.
- Set-difference: overlap phrase-இல் common-ஆக வரும் code-ஐ நீக்கினால், unique words-க்கு இருக்கும் sub-code-ஐ கண்டுபிடிக்கலாம்.
- Position vs token: code word position-ஐ அடிப்படையாகக் கொண்டதா அல்லது word-token அடிப்படையாக இருக்கிறதா என்பதை phrases-ன் order-ஐ மாற்றி பார்க்கவும்.
- Multi-word tokens: சில code blocks இரண்டு words-ஐ சேர்ந்து represent செய்யலாம்; இது கூடுதல் examples மூலம் மட்டும் உறுதி செய்யலாம்.
- Consistency check: ஒரே mapping அனைத்து phrases-க்கும் சரியாகப் பொருந்த வேண்டும்.
Step-by-Step Example
Question
ஒரு code-ல்:
"Sky is blue" = 243
"Blue and sea" = 351
"Sea is sky" = ?
Solution
-
Step 1: Words மற்றும் code tokens-ஐ பட்டியலிடுங்கள்
Phrase A: Sky is blue → 2 4 3.
Phrase B: Blue and sea → 3 5 1. -
Step 2: Shared mapping-ஐ கண்டுபிடிக்கவும்
blue இரண்டு phrases-லுமே வருகிறது → இரண்டு codes-லுமே common number 3. எனவே blue = 3.
-
Step 3: Set-difference logic மூலம் மற்ற words-ன் codes-ஐ map செய்யுங்கள்
A - B = {2,4,3} - {3,5,1} = {2,4} → இவை {sky, is} என்ற words-க்கு சேர்க்கப்பட வேண்டும்.
B - A = {3,5,1} - {2,4,3} = {5,1} → இவை {and, sea} என்ற words-க்கு சேர்க்கப்பட வேண்டும்.
ஏற்கனவே 3 = blue என தெரியும்; எனவே unique tokens:- sky = 2
- is = 4
- blue = 3
- and = 5
- sea = 1
-
Step 4: Target phrase-க்கு mapping பயன்படுத்துங்கள்
"Sea is sky" → sea (1), is (4), sky (2) → 1 4 2.
-
Final Answer:
142
-
Quick Check:
Sky is blue → 2 4 3 ✔️
Blue and sea → 3 5 1 ✔️
Mapping-ல் எந்த முரண்பாடும் இல்லை.
Quick Variations
1. Position-specific codes: word-ன் position-ஐ அடிப்படையாகக் கொண்டு code வரலாம்.
2. Token-based codes: ஒவ்வொரு distinct word-க்கும் தனிப்பட்ட sub-code இருக்கும் (பொதுவாக இதுவே standard).
3. Composite tokens: ஒரு code block இரண்டு words-ஐ represent செய்யலாம்.
4. Symbol mixing: code-ல் letters + numbers சேர்ந்து வரலாம்.
5. Ambiguous small words: is, and, the போன்றச் சிறிய words-க்கு கூடுதல் examples தேவைப்படும்.
Trick to Always Use
- Step 1: Codes மற்றும் words-ன் overlap table உருவாக்கவும்.
- Step 2: Set-difference (A - B) கொண்டு unique words-ன் codes-ஐ isolate செய்யவும்.
- Step 3: Positional logic அல்ல, token-based logic அதிகம் பயன்படுத்தப்படும் - unless examples வேறாகச் சொல்கின்றன.
- Step 4: Mapping ஒவ்வொரு phrase-க்கும் வேலை செய்கிறதா என்று இறுதியாகச் சரிபார்க்கவும்.
Summary
Summary
- Coded phrases-ஐ ஒப்பிட்டு shared tokens கண்டுபிடிக்கவும்.
- Set-difference மூலம் unique words-ன் codes-ஐ isolate செய்யவும்.
- Logic token-based தானா அல்லது positional தானா என்று sentence orders-ஐ பார்த்து தீர்மானிக்கவும்.
- Mapping அனைத்து phrases-க்கும் சரியாகப் பொருந்த வேண்டும்.
Example to remember:
"Sky is blue" = 243, "Blue and sea" = 351 ⇒ "Sea is sky" = 142
