06 2022 档案
摘要:You are given a string s formed by digits and '#'. We want to map s to English lowercase characters as follows: Characters ('a' to 'i') are represente
阅读全文
摘要:When use AWS API gateway with lambda authorizer, you may get 403 Forbidden error code with the error message User is not authorized to access this res
阅读全文
摘要:If you configure CORS (Cross-Origin Resource Sharing) for an API, API Gateway automatically sends a response to preflight OPTIONS requests, even if th
阅读全文
摘要:AWS Lambda allows you to write customized authorizer for the API gateway, here is the video for Secure your API Gateway with Lambda Authorizer | Step
阅读全文
摘要:Given an array of non-negative integers arr, you are initially positioned at start index of the array. When you are at index i, you can jump to i + ar
阅读全文
摘要:AWS lambda function has some built-in packages, but when you use some other packages (like requests), you might get the following error: Unable to imp
阅读全文
摘要:Given an integer n, return any array containing n unique integers such that they add up to 0. Example 1: Input: n = 5 Output: [-7,-1,1,3,4] Explanatio
阅读全文