From b6e8a7292c838110421d3a5b1988955ec97199e0 Mon Sep 17 00:00:00 2001 From: Akash Singh Date: Sun, 10 Sep 2023 01:24:18 +0530 Subject: [PATCH] add icons and add coding ninjas contents --- docs/about/about.md | 5 + docs/css/custom.css | 2 +- docs/js/feedback.js | 11 +++ .../CN_Series/Phase1/Aptitude/Aptitude.md | 1 - .../Module1/Alphanumeric_Series.md | 99 +++++++++++++++++++ .../Module1/Artificial_Language.md | 77 +++++++++++++++ .../Module1/Blood_Relations.md | 0 .../Logical_Reasoning/Module1/Calendars.md | 0 .../Module1/Cause_and_Effect.md | 0 .../Logical_Reasoning/Module1/Clocks.md | 0 .../Module1/Coding_Decoding.md | 0 .../Module1/Data_Sufficiency.md | 0 .../Module2/Deductive_Reasoning.md | 0 .../Module3/MIrror_Water_Images.md | 0 docs/learning_resources/CN_Series/preface.md | 9 ++ .../step01/step1.1/Data-Types.md | 4 + .../step01/step1.1/For-Loops.md | 4 + .../step01/step1.1/Functions.md | 4 + .../step01/step1.1/If-Else-Statements.md | 4 + .../step01/step1.1/Switch-Statement.md | 4 + .../step01/step1.1/Time-Complexity.md | 6 ++ .../step01/step1.1/User_Input-Output.md | 6 +- .../step01/step1.1/What-are-Arrays-Strings.md | 4 + .../step01/step1.1/While-Loops.md | 4 + .../step1.2/Pattern_Problems/Pattern-1.md | 4 + .../step1.2/Pattern_Problems/Pattern-10.md | 4 + .../step1.2/Pattern_Problems/Pattern-11.md | 6 +- .../step1.2/Pattern_Problems/Pattern-12.md | 2 +- .../step1.2/Pattern_Problems/Pattern-13.md | 4 + .../step1.2/Pattern_Problems/Pattern-14.md | 4 + .../step1.2/Pattern_Problems/Pattern-15.md | 4 + .../step1.2/Pattern_Problems/Pattern-16.md | 4 + .../step1.2/Pattern_Problems/Pattern-17.md | 4 + .../step1.2/Pattern_Problems/Pattern-18.md | 4 + .../step1.2/Pattern_Problems/Pattern-19.md | 4 + .../step1.2/Pattern_Problems/Pattern-2.md | 4 + .../step1.2/Pattern_Problems/Pattern-21.md | 4 + .../step1.2/Pattern_Problems/Pattern-22.md | 4 + .../step1.2/Pattern_Problems/Pattern-3.md | 4 + .../step1.2/Pattern_Problems/Pattern-4.md | 4 + .../step1.2/Pattern_Problems/Pattern-5.md | 4 + .../step1.2/Pattern_Problems/Pattern-6.md | 4 + .../step1.2/Pattern_Problems/Pattern-7.md | 4 + .../step1.2/Pattern_Problems/Pattern-8.md | 4 + .../step1.2/Pattern_Problems/Pattern-9.md | 4 + .../step01/step1.4/Armstrong-Numbers.md | 4 + .../step01/step1.4/Check-Palindrome.md | 4 + .../step01/step1.4/Check-for-Prime.md | 12 ++- .../step01/step1.4/Count-Digits.md | 11 ++- .../step01/step1.4/GCD-and-LCM.md | 12 ++- .../step01/step1.4/Print-all-Divisors.md | 12 ++- .../step01/step1.4/Reverse-a-Number.md | 4 + .../Check-if-a-string-is-palindrome-or-not.md | 4 + .../step01/step1.5/Factorial-of-N-numbers.md | 4 + .../step01/step1.5/Fibonacci-Number.md | 4 + .../step01/step1.5/Print-1-to-N.md | 4 + .../step01/step1.5/Print-N-to-1.md | 4 + .../step01/step1.5/Print-Name-N-times.md | 4 + .../step01/step1.5/Reverse-an-array.md | 4 + .../step01/step1.5/Sum-of-first-N-numbers.md | 4 + .../step01/step1.5/Undestand-Recursion.md | 4 + .../Counting-Frequencies-of-Array-Elements.md | 12 ++- ...nd-the-highest_lowest-frequency-element.md | 12 ++- material/overrides/main.html | 8 +- mkdocs.yml | 80 +++++++++------ 65 files changed, 483 insertions(+), 52 deletions(-) create mode 100644 docs/js/feedback.js delete mode 100644 docs/learning_resources/CN_Series/Phase1/Aptitude/Aptitude.md create mode 100644 docs/learning_resources/CN_Series/Phase1/Aptitude/Logical_Reasoning/Module1/Alphanumeric_Series.md create mode 100644 docs/learning_resources/CN_Series/Phase1/Aptitude/Logical_Reasoning/Module1/Artificial_Language.md create mode 100644 docs/learning_resources/CN_Series/Phase1/Aptitude/Logical_Reasoning/Module1/Blood_Relations.md create mode 100644 docs/learning_resources/CN_Series/Phase1/Aptitude/Logical_Reasoning/Module1/Calendars.md create mode 100644 docs/learning_resources/CN_Series/Phase1/Aptitude/Logical_Reasoning/Module1/Cause_and_Effect.md create mode 100644 docs/learning_resources/CN_Series/Phase1/Aptitude/Logical_Reasoning/Module1/Clocks.md create mode 100644 docs/learning_resources/CN_Series/Phase1/Aptitude/Logical_Reasoning/Module1/Coding_Decoding.md create mode 100644 docs/learning_resources/CN_Series/Phase1/Aptitude/Logical_Reasoning/Module1/Data_Sufficiency.md create mode 100644 docs/learning_resources/CN_Series/Phase1/Aptitude/Logical_Reasoning/Module2/Deductive_Reasoning.md create mode 100644 docs/learning_resources/CN_Series/Phase1/Aptitude/Logical_Reasoning/Module3/MIrror_Water_Images.md create mode 100644 docs/learning_resources/CN_Series/preface.md diff --git a/docs/about/about.md b/docs/about/about.md index 479f689..3fb1267 100644 --- a/docs/about/about.md +++ b/docs/about/about.md @@ -1,3 +1,8 @@ +--- +hide: + - toc +--- +

Typing SVG

[![Hello programmer Welcome to my profile](https://custom-icon-badges.demolab.com/badge/Hello,Programmer!-Welcome-orange.svg?style=flat&logo=github)](https://github.com/AkashSingh3031) diff --git a/docs/css/custom.css b/docs/css/custom.css index ef3dd35..0dfd224 100644 --- a/docs/css/custom.css +++ b/docs/css/custom.css @@ -273,5 +273,5 @@ p { /* Overflow Texts Truncation */ .md-nav__link { - white-space: nowrap; + white-space: normal; } diff --git a/docs/js/feedback.js b/docs/js/feedback.js new file mode 100644 index 0000000..fcf4709 --- /dev/null +++ b/docs/js/feedback.js @@ -0,0 +1,11 @@ +var feedback = document.forms.feedback +feedback.addEventListener("submit", function(ev) { + ev.preventDefault() + + /* Retrieve page and feedback value */ + var page = document.location.pathname + var data = ev.submitter.getAttribute("data-md-value") + + /* Send feedback value */ + console.log(page, data) +}) diff --git a/docs/learning_resources/CN_Series/Phase1/Aptitude/Aptitude.md b/docs/learning_resources/CN_Series/Phase1/Aptitude/Aptitude.md deleted file mode 100644 index da92ed1..0000000 --- a/docs/learning_resources/CN_Series/Phase1/Aptitude/Aptitude.md +++ /dev/null @@ -1 +0,0 @@ -# Aptitude \ No newline at end of file diff --git a/docs/learning_resources/CN_Series/Phase1/Aptitude/Logical_Reasoning/Module1/Alphanumeric_Series.md b/docs/learning_resources/CN_Series/Phase1/Aptitude/Logical_Reasoning/Module1/Alphanumeric_Series.md new file mode 100644 index 0000000..cee1a5e --- /dev/null +++ b/docs/learning_resources/CN_Series/Phase1/Aptitude/Logical_Reasoning/Module1/Alphanumeric_Series.md @@ -0,0 +1,99 @@ +!!! success "" + ## 1. Find the Next One + !!! tip "" + ???+ question "Find the Next One" +

+ **2, A, 9, B, 6, C, 13, D, ? (Infosys - 2019)** + + - [ ] 9 + - [X] 10 + - [ ] E + - [ ] 15 + ??? abstract "Explanation" + In this sequence, a number is followed by an alphabet and vice versa. Let's focus on the number pattern: + + - Start with 2. + - Add 7 to get the next number: 2 + 7 = 9. + - Subtract 3 to get the next number: 9 - 3 = 6. + - Add 7 again: 6 + 7 = 13. + - Subtract 3: 13 - 3 = 10. + + So, the next element in the sequence is: **10** + + ## 2. Find the next alphanumeric code + !!! success "" + ???+ question "Find the next alphanumeric code" +

+ **2A11, 2D13, 4G17,? (IBM - 2017)** + + - [X] 12J23 + - [ ] 48M29 + - [ ] 36I29 + - [ ] 8E15 + ??? abstract "Explanation" + 1. **2A11:** + - The number starts at 2. + - The letter 'A' is there. + - The two digits are 11. + - To go from 2A11 to 2D13: + - Multiply the number by 1 (2 * 1 = 2). + - Move the letter forward in the alphabet by 3 places (A + 3 = D). + - Increase the two digits by 2 (11 + 2 = 13). + + 2. **2D13:** + - The number is now 2. + - The letter 'D' is there. + - The two digits are 13. + - To go from 2D13 to 4G17: + - Multiply the number by 2 (2 * 2 = 4). + - Move the letter forward in the alphabet by 3 places (D + 3 = G). + - Increase the two digits by 4 (13 + 4 = 17). + + 3. **4G17:** + - The number is now 4. + - The letter 'G' is there. + - The two digits are 17. + - To find the next element: + - Multiply the number by 3 (4 * 3 = 12). + - Move the letter forward in the alphabet by 3 places (G + 3 = J). + - Increase the two digits by 6 (17 + 6 = 23). + + So, the next element in the sequence is: **12J23** + + ## 3. Find the missing value + !!! info "" + ???+ question "Find the missing value" +

+ **ACE, ?, MOQ, SUW(last term) (Wipro)** + + - [ ] GIL + - [ ] EFH + - [X] GIK + - [ ] FHJ + ??? abstract "Explanation" + + ## 4. Lowest digit product + !!! question "" + ???+ question "Lowest digit product" +

+ **867 209 242 283 543 Given this series:
When the digits within the number are multiplied with each other, the product of which number is the lowest?** + + - [ ] 867 + - [X] 209 + - [ ] 242 + - [ ] 283 + ??? abstract "Explanation" + + ## 5. Find the character + !!! danger "" + ???+ question "Find the character" +

+ **Study the following arrangement carefully and answer the question that follows:**
+ **S K 6 £ Q 2 R * C F 8 E $ G 2 # 4 9 L N 3 U V 5 Y α B 7 W 9**
+ **Which of the following letters, numbers, or symbols will be third to the left or a fifth of the left?** + + - [ ] Q + - [ ] S + - [X] 6 + - [ ] 2 + ??? abstract "Explanation" \ No newline at end of file diff --git a/docs/learning_resources/CN_Series/Phase1/Aptitude/Logical_Reasoning/Module1/Artificial_Language.md b/docs/learning_resources/CN_Series/Phase1/Aptitude/Logical_Reasoning/Module1/Artificial_Language.md new file mode 100644 index 0000000..fc24546 --- /dev/null +++ b/docs/learning_resources/CN_Series/Phase1/Aptitude/Logical_Reasoning/Module1/Artificial_Language.md @@ -0,0 +1,77 @@ +!!! info "" + ## 1. Houseguest + !!! danger "" + ???+ question "Houseguest" +

+ **Here are some words translated from an artificial language.**
+ morpirquat means birdhouse
+ beelmorpir means bluebird
+ beelclak means bluebell

+ Which word could mean "houseguest"? + + - [ ] Morpirhunde + - [ ] Beelmoki + - [x] Quathunde + - [ ] Clakquat + ??? abstract "Explanation" + + ## 2. Holiday + !!! success "" + ???+ question "Holiday" +

+ fenplac means filmy holiday
+ Placston means holiday beach
+ Stonrum means beach perform
+ Rumfen means perform filmy

+ **Which word means “holiday”?** + + - [x] plac + - [ ] rum + - [ ] ston + - [ ] fen + ??? abstract "Explanation" + + ## 3. Lighthouse + !!! tip "" + ???+ question "Lighthouse" +

+ Mallonpiml means blue ligh
+ Mallontifl means blueberry
+ Arpantifl means rasberry

+ **Which word means “lighthouse”? (Tech Mahindra - 2018)** + + - [ ] Tiflmallon + - [ ] Pimlarpan + - [ ] Mallonarpan + - [x] Pimldoken + ??? abstract "Explanation" + + ## 4. Plantation + !!! abstract "" + ???+ question "Plantation" +

+ Creektulo means tree plantation
+ creekfuos means tree mutation
+ fuosseed means mutation sapling

+ **Which word means “plantation”? (Newgen - 2020)** + + - [ ] Creek + - [x] Tulo + - [ ] Fuos + - [ ] Seed + ??? abstract "Explanation" + + ## 5. Happiness + !!! note "" + ???+ question "Happiness" +

+ jalkamofti means happy birthday
+ moftihoze means birthday party
+ mentogunn means goodness

+ **Which word could mean "happiness"? (Sapient - 2019)** + + - [x] jalkagunn + - [ ] Mentohoze + - [ ] Moftihoze + - [ ] hozemento + ??? abstract "Explanation" \ No newline at end of file diff --git a/docs/learning_resources/CN_Series/Phase1/Aptitude/Logical_Reasoning/Module1/Blood_Relations.md b/docs/learning_resources/CN_Series/Phase1/Aptitude/Logical_Reasoning/Module1/Blood_Relations.md new file mode 100644 index 0000000..e69de29 diff --git a/docs/learning_resources/CN_Series/Phase1/Aptitude/Logical_Reasoning/Module1/Calendars.md b/docs/learning_resources/CN_Series/Phase1/Aptitude/Logical_Reasoning/Module1/Calendars.md new file mode 100644 index 0000000..e69de29 diff --git a/docs/learning_resources/CN_Series/Phase1/Aptitude/Logical_Reasoning/Module1/Cause_and_Effect.md b/docs/learning_resources/CN_Series/Phase1/Aptitude/Logical_Reasoning/Module1/Cause_and_Effect.md new file mode 100644 index 0000000..e69de29 diff --git a/docs/learning_resources/CN_Series/Phase1/Aptitude/Logical_Reasoning/Module1/Clocks.md b/docs/learning_resources/CN_Series/Phase1/Aptitude/Logical_Reasoning/Module1/Clocks.md new file mode 100644 index 0000000..e69de29 diff --git a/docs/learning_resources/CN_Series/Phase1/Aptitude/Logical_Reasoning/Module1/Coding_Decoding.md b/docs/learning_resources/CN_Series/Phase1/Aptitude/Logical_Reasoning/Module1/Coding_Decoding.md new file mode 100644 index 0000000..e69de29 diff --git a/docs/learning_resources/CN_Series/Phase1/Aptitude/Logical_Reasoning/Module1/Data_Sufficiency.md b/docs/learning_resources/CN_Series/Phase1/Aptitude/Logical_Reasoning/Module1/Data_Sufficiency.md new file mode 100644 index 0000000..e69de29 diff --git a/docs/learning_resources/CN_Series/Phase1/Aptitude/Logical_Reasoning/Module2/Deductive_Reasoning.md b/docs/learning_resources/CN_Series/Phase1/Aptitude/Logical_Reasoning/Module2/Deductive_Reasoning.md new file mode 100644 index 0000000..e69de29 diff --git a/docs/learning_resources/CN_Series/Phase1/Aptitude/Logical_Reasoning/Module3/MIrror_Water_Images.md b/docs/learning_resources/CN_Series/Phase1/Aptitude/Logical_Reasoning/Module3/MIrror_Water_Images.md new file mode 100644 index 0000000..e69de29 diff --git a/docs/learning_resources/CN_Series/preface.md b/docs/learning_resources/CN_Series/preface.md new file mode 100644 index 0000000..c19e506 --- /dev/null +++ b/docs/learning_resources/CN_Series/preface.md @@ -0,0 +1,9 @@ +???+ success "Coding Ninjas Series (Placement Preparation)" + ??? tip "Phase 1" + ??? abstract "1. Aptitude" + ??? Example "1.1. Logical Reasoning" + ??? note "Module 1" + !!! pied-piper "" + [Alphanumeric Series](Phase1/Aptitude/Logical_Reasoning/Module1/Alphanumeric_Series.md) + !!! pied-piper "" + [Artificial Language](Phase1/Aptitude/Logical_Reasoning/Module1/Artificial_Language.md) \ No newline at end of file diff --git a/docs/learning_resources/codepoint/striver_a2z_dsa_sheet_solution/step01/step1.1/Data-Types.md b/docs/learning_resources/codepoint/striver_a2z_dsa_sheet_solution/step01/step1.1/Data-Types.md index 2c37e39..e20136a 100644 --- a/docs/learning_resources/codepoint/striver_a2z_dsa_sheet_solution/step01/step1.1/Data-Types.md +++ b/docs/learning_resources/codepoint/striver_a2z_dsa_sheet_solution/step01/step1.1/Data-Types.md @@ -1,3 +1,7 @@ +--- +icon: material/numeric-2-circle +--- + B[Expression]; diff --git a/docs/learning_resources/codepoint/striver_a2z_dsa_sheet_solution/step01/step1.1/Time-Complexity.md b/docs/learning_resources/codepoint/striver_a2z_dsa_sheet_solution/step01/step1.1/Time-Complexity.md index a4c2c07..4203a95 100644 --- a/docs/learning_resources/codepoint/striver_a2z_dsa_sheet_solution/step01/step1.1/Time-Complexity.md +++ b/docs/learning_resources/codepoint/striver_a2z_dsa_sheet_solution/step01/step1.1/Time-Complexity.md @@ -1,3 +1,9 @@ +--- +hide: + - toc +icon: material/numeric-9-circle +--- +