Skip to content

Instantly share code, notes, and snippets.

View SharafatKarim's full-sized avatar
🎯
focusing...

Sharafat Karim SharafatKarim

🎯
focusing...
View GitHub Profile
@SharafatKarim
SharafatKarim / linked_list_python.py
Last active December 23, 2022 12:19
Linked List with python (inspired from Md. Redwan Hossain)
class Node:
def __init__(self, value=None):
self.val = value
self.next_val = None
class Link:
def __init__(self):
self.primary_value = Node()
def append_to_list(self,value=None):
@SharafatKarim
SharafatKarim / Reading Speed Test.py
Created October 28, 2022 14:06
This code will detect your reading speed and also can help you to increase your reading speed! Give it a try...
# variables
text= """
Reading is becoming more and more important in the new knowledge economy and remains the most effective human activity for transforming information into knowledge.
If top readers read at speeds of above 1000 words per minute (wpm) with near 85% comprehension, they only represent 1% of readers. Average readers are the majority and only reach around 200 wpm with a typical comprehension of 60%. This seems surprising since most readers, actively reading work documents, newspapers, magazines, books or the contents of a computer display are practicing daily for at least one hour. With such an intense training everyone should be close to top performances.
Unfortunately, this is far from the real situation. The average reader is five times slower than the good reader. Things are even worse if we consider reading efficiency as well as speed. Reading efficiency is reading speed weighted by comprehension rate and it amounts to 200 x 60% or 120 efficient words per minute (ewpm) for the average re
@SharafatKarim
SharafatKarim / prime-sieve.py
Created October 19, 2022 14:42
Prime number and Sieve of Eratosthenes
def getlist(N):
return list(range(2,N+1))
def with_sieve(N):
L = getlist(N)
L1 = []
Prime_List = []
for ele in L:
L1.append(ele)