Sign in to Publish article.

Sign in

avatar

dhirendra_gupta

Student at BIT Mesra April 12, 2020, 12:37 p.m. ⋅ 280 views

Find all the prime numbers of given number of digits

To find the number of a given number of digits we will use Sieve of …

Read full article

avatar

vishal_saxena

SDE 1 at Amazon April 11, 2020, 3:16 p.m. ⋅ 155 views

Python - check if a list is empty ?

To check if a list is empty or not we simple put the list variable …

Read full article

avatar

dhirendra_gupta

Student at BIT Mesra April 7, 2020, 12:51 p.m. ⋅ 238 views

Remove characters from a String that appears exactly K times

To Remove characters from a String that appears exactly K times, we will create a hash …

Read full article


Rajan Kumar

rajan

Founder & Programmer at HackersFriend Updated April 6, 2020, 5:19 p.m. ⋅ 185 views

How to redirect using javascript

To redirect using Javascript we use location.href or location.replace. We pass the url …

Read full article

Rajan Kumar

rajan

Founder & Programmer at HackersFriend April 3, 2020, 10:18 p.m. ⋅ 287 views

How to upload file to SQL server using pyodbc python

To upload files to SQL server using pyodbc we use pyodbc.Binary() function. We open …

Read full article

avatar

dhirendra_gupta

Student at BIT Mesra March 31, 2020, 10:25 p.m. ⋅ 250 views

Babylonian method to find the square root

Babylonian method to find the square root is based on Newton–Raphson method.

We start form y …

Read full article


avatar

harsh_shukla

Intern at Microsoft March 31, 2020, 7:31 p.m. ⋅ 124 views

Maximum sum such that no two elements are adjacent

We are given an array of positive integres, and we need to find the sum …

Read full article

avatar

anoop_singh

SDE 1 at Amazon March 31, 2020, 12:10 a.m. ⋅ 217 views

Accessing environment variable values in Python

There might be times, when we want to access environment variables of system that our program is …

Read full article

Rajan Kumar

rajan

Founder & Programmer at HackersFriend Updated March 30, 2020, 12:41 p.m. ⋅ 579 views

How to prepare for Hack With Infy 2020

HackWithInfy is India-wide coding competition organize by Infosys for final year engineering students. For this …

Read full article

avatar

vishal_saxena

SDE 1 at Amazon March 29, 2020, 7:08 p.m. ⋅ 165 views

How to get the ASCII value of a character in Python

Function ord()  is used to get int ASCII value of any character in Python.

>>> …
Read full article


View more

HackersFriend Updates





View more


Events


Nov. 28, 2018, 5:30 p.m.

Python from zero to hero

place Delhi

View details


Aug. 13, 2018, 5:30 p.m.

Python from zero to hero

place Bangalore ( HackersFriend office BTM Layout)

View details