Skip to content

Add Newsletter Subscription Section to Footer #4293

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -397,6 +397,24 @@ const config = {
},
],
},
// Add a new section for the LinkedIn newsletter
{
title: "Newsletter",
items: [
{
html: `
<div class="newsletter-subscription">
<h4>Subscribe to our Newsletter</h4>
<p>Stay updated with the latest news and tutorials from CodeHarborHub by subscribing to our LinkedIn newsletter.</p>
<a href="https://www.linkedin.com/newsletters/advance-development-and-coding-7030185990174515200" target="_blank" rel="noopener noreferrer">
Subscribe on LinkedIn
</a>
</div>
`,
},
],
},

],
logo: {
alt: "Powered by CodeHarborHub | Product Hunt",
Expand Down
20 changes: 4 additions & 16 deletions dsa-solutions/gfg-solutions/Easy problems/square-root.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,11 @@
---
id: square-root
title: Square Root
sidebar_label: 9 Square Root
sidebar_label: Square-Root
tags:
- Math
- Binary Search
- Python
- Java
- C++
- JavaScript
- TypeScript
description: "This document provides solutions to the problem of finding the square root of a given integer using various programming languages."
description: "This document provides solutions to the problem of finding the Square Root of an integer."
---

## Problem
Expand Down Expand Up @@ -43,7 +38,7 @@ You don't need to read input or print anything. The task is to complete the func
**Expected Auxiliary Space:** $O(1)$

**Constraints**
- $1 ≤ x ≤ 10^7$
- `1 ≤ x ≤ 10^7`

## Solution

Expand Down Expand Up @@ -190,11 +185,4 @@ class Solution {
The provided solutions efficiently find the floor value of the square root of a given integer `x` using binary search. This approach ensures a time complexity of $ O(log N) and an auxiliary space complexity of $O(1)$. The algorithms are designed to handle large values of `x` up to 10^7 efficiently without relying on built-in square root functions.

**Time Complexity:** $O(log N)$
**Auxiliary Space:** $O(1)$

---

## References

- **GeeksforGeeks Problem:** [Square root](https://www.geeksforgeeks.org/problems/square-root/0)
- **Author GeeksforGeeks Profile:** [GeeksforGeeks](https://www.geeksforgeeks.org/user/GeeksforGeeks/)
**Auxiliary Space:** $O(1)$
Loading