Skip to content

Instantly share code, notes, and snippets.

@hpoit
hpoit / Krapivin_Hash_Table_Verification.py
Created February 11, 2025 19:58
Krapivin Hash Table Verification
# Ensure required packages are installed
!pip install numpy matplotlib pandas jupyter
import numpy as np
import matplotlib.pyplot as plt
import pandas as pd
# Simulation Parameters
n_trials = 2000 # Number of search operations per load factor
table_size = 10000 # Hash table capacity
@yasirkula
yasirkula / FileDownloader.cs
Last active October 2, 2025 10:07
C# Download Public File From Google Drive™ (works for large files as well)
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.IO;
using System.Net;
using System.Text;
/* EXAMPLE USAGE
FileDownloader fileDownloader = new FileDownloader();