Skip to content

Commit

Permalink
add icons and add coding ninjas contents
Browse files Browse the repository at this point in the history
  • Loading branch information
Akash Singh committed Sep 9, 2023
1 parent 1c05645 commit b6e8a72
Show file tree
Hide file tree
Showing 65 changed files with 483 additions and 52 deletions.
5 changes: 5 additions & 0 deletions docs/about/about.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
---
hide:
- toc
---

<h1 align="center"> <a href="https://prepverse.github.io"><img align="center" src="https://readme-typing-svg.herokuapp.com?font=Tourney&weight=900&size=30&pause=1000&color=F74609FF&center=true&vCenter=true&repeat=false&width=500&lines=Hello++%3C%F0%9D%9A%8C%F0%9D%9A%98%F0%9D%9A%8D%F0%9D%9A%8E%F0%9D%9A%9B%F0%9D%9A%9C%2F%3E!%2C+I'm+Akash+Singh" alt="Typing SVG" /></a></h1>

[![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)
Expand Down
2 changes: 1 addition & 1 deletion docs/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -273,5 +273,5 @@ p {

/* Overflow Texts Truncation */
.md-nav__link {
white-space: nowrap;
white-space: normal;
}
11 changes: 11 additions & 0 deletions docs/js/feedback.js
Original file line number Diff line number Diff line change
@@ -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)
})

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,99 @@
!!! success ""
## 1. Find the Next One
!!! tip ""
???+ question "Find the Next One"
<h2>
**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"
<h2>
**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"
<h2>
**ACE, ?, MOQ, SUW(last term) (Wipro)**

- [ ] GIL
- [ ] EFH
- [X] GIK
- [ ] FHJ
??? abstract "Explanation"

## 4. Lowest digit product
!!! question ""
???+ question "Lowest digit product"
<h2>
**867 209 242 283 543 Given this series: <br> 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"
<h2>
**Study the following arrangement carefully and answer the question that follows:**<br>
**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**<br>
**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"
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
!!! info ""
## 1. Houseguest
!!! danger ""
???+ question "Houseguest"
<h2>
**Here are some words translated from an artificial language.**<br>
morpirquat means birdhouse <br>
beelmorpir means bluebird <br>
beelclak means bluebell <br><br>
Which word could mean "houseguest"?

- [ ] Morpirhunde
- [ ] Beelmoki
- [x] Quathunde
- [ ] Clakquat
??? abstract "Explanation"

## 2. Holiday
!!! success ""
???+ question "Holiday"
<h2>
fenplac means filmy holiday <br>
Placston means holiday beach <br>
Stonrum means beach perform <br>
Rumfen means perform filmy <br><br>
**Which word means “holiday”?**

- [x] plac
- [ ] rum
- [ ] ston
- [ ] fen
??? abstract "Explanation"

## 3. Lighthouse
!!! tip ""
???+ question "Lighthouse"
<h2>
Mallonpiml means blue ligh<br>
Mallontifl means blueberry<br>
Arpantifl means rasberry<br><br>
**Which word means “lighthouse”? (Tech Mahindra - 2018)**

- [ ] Tiflmallon
- [ ] Pimlarpan
- [ ] Mallonarpan
- [x] Pimldoken
??? abstract "Explanation"

## 4. Plantation
!!! abstract ""
???+ question "Plantation"
<h2>
Creektulo means tree plantation <br>
creekfuos means tree mutation <br>
fuosseed means mutation sapling <br><br>
**Which word means “plantation”? (Newgen - 2020)**

- [ ] Creek
- [x] Tulo
- [ ] Fuos
- [ ] Seed
??? abstract "Explanation"

## 5. Happiness
!!! note ""
???+ question "Happiness"
<h2>
jalkamofti means happy birthday <br>
moftihoze means birthday party <br>
mentogunn means goodness <br><br>
**Which word could mean "happiness"? (Sapient - 2019)**

- [x] jalkagunn
- [ ] Mentohoze
- [ ] Moftihoze
- [ ] hozemento
??? abstract "Explanation"
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
9 changes: 9 additions & 0 deletions docs/learning_resources/CN_Series/preface.md
Original file line number Diff line number Diff line change
@@ -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)
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
---
icon: material/numeric-2-circle
---

<!-- ### Integer Types
| Type Name | Bytes | Range of Values |
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
---
icon: material/numeric-6-circle
---

``` mermaid
graph LR
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
---
icon: material/numeric-8-circle
---

!!! example
!!! abstract "Use of functions"
1. Functions are set of code wich performs somethig for you
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
---
icon: material/numeric-3-circle
---

``` mermaid
graph LR
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
---
icon: material/numeric-4-circle
---

``` mermaid
graph LR
A(Start) --> B[Expression];
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
---
hide:
- toc
icon: material/numeric-9-circle
---

<style>
#credit {
text-align: right;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<!-- ---
icon: material/keyboard
--- -->
---
icon: material/numeric-1-circle
---

``` mermaid
graph LR
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
---
icon: material/numeric-5-circle
---

!!! example
!!! abstract "Arrays"
1. **Definition:** An array is a data structure that stores a fixed-size, ordered collection of elements of the same data type. Each element in an array is identified by its index or position.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
---
icon: material/numeric-7-circle
---

# While Loops
``` mermaid
graph LR
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
---
icon: material/square
---

# 1. Square Star Pattern

!!! example "Example"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
---
icon: octicons/triangle-right-24
---

# 10. Triangle Star Pattern

!!! example "Example"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
# 11. 01 Triangle Digit Pattern
---
icon: material/set-square
---

# 11. Triangle Digit Pattern

!!! example "Example"
!!! question "Pattern 11"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# 11. Left-Right Triangle Digit Pattern
# 12. Left-Right Triangle Digit Pattern

!!! example "Example"
!!! question "Pattern 12"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
---
icon: material/set-square
---

# 13. Triangle Digit Pattern

!!! example "Example"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
---
icon: material/set-square
---

# 14. Triangle Character Pattern

!!! example "Example"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
---
icon: material/triangle-down
---

# 15. Reverse Triangle Character Pattern

!!! example "Example"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
---
icon: material/set-square
---

# 16. Triangle Character Pattern

!!! example "Example"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
---
icon: material/dots-triangle
---

# 17. Triangle Character Pattern

!!! example "Example"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
---
icon: material/set-square
---

# 18. Triangle Character Pattern

!!! example "Example"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
---
icon: material/cards-playing-diamond
---

# 19. Hollow Diamond Star Pattern

!!! example "Example"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
---
icon: material/set-square
---

# 2. Triangle Star Pattern

!!! example "Example"
Expand Down
Loading

0 comments on commit b6e8a72

Please sign in to comment.