Skip to content

Commit

Permalink
Added 08-10-2024 Solution and 09-10-2024 Question
Browse files Browse the repository at this point in the history
Added 08-10-2024 Solution and 09-10-2024 Question
  • Loading branch information
madhurimarawat authored Oct 9, 2024
1 parent 77c077f commit 39aa119
Show file tree
Hide file tree
Showing 2 changed files with 53 additions and 0 deletions.
23 changes: 23 additions & 0 deletions 08-10-2024/Solution.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
### Eddy's Introduction Example:

_"Hi, my name is Eddy, and I’m excited to be here! I’ve been learning Python and working on small projects, including a simple calculator, exploring data structures and algorithms, and a basic Snake and Ladder game. I enjoy problem-solving, and Python has been a fantastic tool for me. While I’m still a beginner, I’m eager to learn and confident that my enthusiasm will allow me to contribute to your team."_

---

### Breakdown of Eddy's Introduction:

- **Enthusiasm:** Eddy opens with excitement about the opportunity, setting a positive tone.

_"Hi, my name is Eddy, and I’m excited to be here!"_

- **Python Skills & Projects:** He mentions his beginner skills and highlights specific projects to show initiative.

_"I’ve been learning Python and working on small projects, including a simple calculator, exploring data structures and algorithms, and a basic Snake and Ladder game."_

- **Problem-Solving:** Eddy shares his passion for problem-solving, indicating a genuine interest in programming.

_"I enjoy problem-solving, and Python has been a fantastic tool for me."_

- **Confidence & Growth:** He acknowledges being a beginner but emphasizes his eagerness to learn and contribute.

_"While I’m still a beginner, I’m eager to learn and confident that my enthusiasm will allow me to contribute to your team."_
30 changes: 30 additions & 0 deletions 09-10-2024/Question.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
### **Question: Caesar Cipher**

**Difficulty Level:** 🟢 Beginner
**Domain:** Programming Languages (Any Language)

**Description:**
The Caesar cipher is a basic encryption technique where each letter in a given text is replaced by a letter some fixed number of positions down the alphabet. This task involves implementing a Caesar Cipher that can encrypt and decrypt messages based on a given shift value. The cipher must be able to handle both uppercase and lowercase letters and wrap around the alphabet if necessary.

**Input Example:**

```python
message = "Hello"
shift_value = 3
```

**Output Example:**

```python
Encrypted Text: "Khoor"
Decrypted Text: "Hello"
```

**Instructions:**

1. Implement a function to create a Caesar cipher that shifts letters by a user-defined value.
2. The function should:
- Encrypt the message by shifting letters based on the input.
- Decrypt the message by reversing the shift.
3. Ensure that the cipher works for both uppercase and lowercase letters.
4. The solution can be implemented in any programming language (Python, C++, Java, etc.).

0 comments on commit 39aa119

Please sign in to comment.