Skip to content

Instantly share code, notes, and snippets.

Scaler LLD Assignment Solving Steps

Please find the steps below:

  1. Go to any coding problem you have already solved in LLD module (It can be in LLD1 / LLD2 / LLD3)
  2. Go to section "Help With Problem Solving"
  3. Click on "View" in Hint Support -> Complete Solution
  4. A modal would open with Repository Link button and your credentials
  5. Login with those credentials (You can modify them if required. I have modified it to remember it)
  6. Next time onwards you can directly login with your credentials on https://gitea.scaler.com/
  7. If you login via step 5, you would be taken to solution of problem which you have solved. Click on Gitea Icon to go to dashboard.
@mrudang-vora
mrudang-vora / latency.txt
Created October 31, 2023 15:38 — forked from jboner/latency.txt
Latency Numbers Every Programmer Should Know
Latency Comparison Numbers (~2012)
----------------------------------
L1 cache reference 0.5 ns
Branch mispredict 5 ns
L2 cache reference 7 ns 14x L1 cache
Mutex lock/unlock 25 ns
Main memory reference 100 ns 20x L2 cache, 200x L1 cache
Compress 1K bytes with Zippy 3,000 ns 3 us
Send 1K bytes over 1 Gbps network 10,000 ns 10 us
Read 4K randomly from SSD* 150,000 ns 150 us ~1GB/sec SSD
@mrudang-vora
mrudang-vora / CalculateCRC16.py
Last active May 10, 2024 15:49
Python: CRC 16 ITU calculation
#Working example: http://pythonfiddle.com/crc-16-calculation
def GetCrc16(strHexData):
crc16tab = (
0x0000, 0x1189, 0x2312, 0x329B, 0x4624, 0x57AD, 0x6536, 0x74BF,
0x8C48, 0x9DC1, 0xAF5A, 0xBED3, 0xCA6C, 0xDBE5, 0xE97E, 0xF8F7,
0x1081, 0x0108, 0x3393, 0x221A, 0x56A5, 0x472C, 0x75B7, 0x643E,
0x9CC9, 0x8D40, 0xBFDB, 0xAE52, 0xDAED, 0xCB64, 0xF9FF, 0xE876,
0x2102, 0x308B, 0x0210, 0x1399, 0x6726, 0x76AF, 0x4434, 0x55BD,
0xAD4A, 0xBCC3, 0x8E58, 0x9FD1, 0xEB6E, 0xFAE7, 0xC87C, 0xD9F5,