見出し画像

8/25 I/O日記

Algorithm

How to fetch integer division and modulus?
You can use a loop, but you can also fetch the integer and modulus using division and modulus operations as shown below:

def culByDigit(n):
    total = 0
    while n > 0:
        n, digit = n // 10, n % 10
        total += digit
    
    return total

S3

  • Presigned URL: A URL provided to users for temporary authentication. It expires within a set time limit.

  • S3 Transfer Acceleration: When transferring data to S3 from a distant location, using this feature allows you to send the data to an edge location first. The edge location then uses a private network to transfer the data to S3, which speeds up the transfer process.

いいなと思ったら応援しよう!