Sudhir sharma has Published 951 Articles

How to Keep Your Browser Safe on Work and Home Networks (with an Optional Chrome VPN Layer)

sudhir sharma

sudhir sharma

Updated on 08-Sep-2025 18:23:26

1K+ Views

A single thoughtless click on a browser tab can cause hours of frantic IT calls, network scans, and security resets in numerous workplaces. Sometimes, when you seek a recipe or a good offer online, you end up with pop-ups or phishing attempts that are not good. These things happen all ... Read More

10 Essential Web Scraping Tools for Data Collection in 2025

sudhir sharma

sudhir sharma

Updated on 08-Aug-2025 10:43:32

397 Views

Data is more than just a business asset – it's a strategic advantage. Whether you're monitoring competitors, tracking product prices, gathering SEO insights, or creating machine learning models, relevant and structured web data is the modern gold. That’s where web scraping can become your winning strategy. Web scraping is the ... Read More

C/C++ Program to Count number of binary strings without consecutive 1’s?

sudhir sharma

sudhir sharma

Updated on 04-Aug-2025 18:35:51

443 Views

In this article, we will learn how to count all distinct binary strings of length n such that no two 1's appear consecutively. We'll explore this problem using both recursive and dynamic programming approaches in C and C++. What is a Binary String? A binary string is a sequence ... Read More

C/C++ Program for Finding the Number Occurring Odd Number of Times?

sudhir sharma

sudhir sharma

Updated on 01-Aug-2025 17:48:12

505 Views

In this article, we implement a C++ program to find the number that occurs an odd number of times in an array, using different approaches. We are given an array containing multiple elements, and our task is to identify the number that appears an odd number of times. For ... Read More

How to compare float and double in C++?

sudhir sharma

sudhir sharma

Updated on 31-Jul-2025 16:10:44

937 Views

In C++, floating-point numbers are used to represent decimal values. The most commonly used floating-point types are float and double. These data types differ in their size, precision, and use cases. Understanding how to use and compare them correctly is important for accurate computations. Understanding Float and Double Precision ... Read More

Delete Node in a Linked List in Python

sudhir sharma

sudhir sharma

Updated on 31-Jul-2025 12:49:23

4K+ Views

A linked list is a linear data structure where each element is a separate object, commonly referred to as a node. Each node contains two fields: the data and a pointer to the next node in the list. In this article, we'll learn how to delete a node from a ... Read More

Amazing hacks of Python

sudhir sharma

sudhir sharma

Updated on 14-Jul-2025 15:42:30

270 Views

Python is one of the programming languages known for its simple syntax, readability. Whether working on development, data analysis, or automation, Python provides the tools to get the task done with less effort. But beyond the basics, Python has some hacks that make the code not only shorter but ... Read More

Sum of the Series 1 + x/1 + x^2/2 + x^3/3 + .. + x^n/n in C++

sudhir sharma

sudhir sharma

Updated on 01-Jul-2025 15:33:23

2K+ Views

In this article, we are given a mathematical series. Our task is to write a program to find the sum of the series 1 + x/1 + x^2/2 + x^3/3 + .. + x^n/n. This can also be represented as: $$ 1+\displaystyle\sum\limits_{k=1}^n \left(\frac{x^k}{k}\right) $$ ... Read More

Sum of the series 1^1 + 2^2 + 3^3 + ... + n^n using recursion in C++

sudhir sharma

sudhir sharma

Updated on 01-Jul-2025 15:32:28

4K+ Views

In this article, we are given a mathematical series (1^1 + 2^2 + 3^3 + … + n^n) defined by a number n which defines the nth terms of the series. This series can be represented mathematically as: $$ \displaystyle\sum\limits_{k=1}^n k^k $$ The ... Read More

C++ Program for Cycle Sort?

sudhir sharma

sudhir sharma

Updated on 30-Jun-2025 13:20:32

573 Views

What is Cycle Sort? Cycle sort is an in-place, unstable sorting algorithm. It is a comparison sort that is theoretically optimal in terms of the total number of writes to the original array, unlike any other in-place sorting algorithm. A sorting algorithm is in-place sorting in which the sorted items ... Read More

1 2 3 4 5 ... 96 Next
Advertisements