Wenhe QiUse toCharArray() WiselyWhen it comes to implement algorithms that deals with strings, I often use two methods in Java String class: charAt() and toCharArray().2 min read·Mar 12, 2021--2--2
Wenhe QiLeetCode Explained: 12. Integer to RomanIn this question, we are asked to write a routine to convert an Arabic integer number (I’ll use number to save some typing) into Roman…3 min read·Mar 10, 2021----
Wenhe QiLeetCode Explained: 1 Two SumIn this question, we are given an array of integer nums and an integer target, and we are asked to return two distinct indices such that…3 min read·Feb 4, 2021----
Wenhe QiHow to Use ACME DNS Challenge in Amazon Route 53 to Get a Free SSL CertificateWhen using UnoSSL to issue a free SSL certificate for my website, it asked me to verify my ownership of the domain first.2 min read·Jan 14, 2021----
Wenhe QiUnderstanding var, let and const with ExamplesVar, let and const scope, redeclaration, hoisting, etc. explained and compared with examples.3 min read·Aug 14, 2020----
Wenhe QiRoute API Gateway API to a Custom Domain Name Using Route53Apply for an SSL certificate, import to ACM, create a custom domain name in API Gateway, create an A record in Route53. Boom!6 min read·Aug 3, 2020----
Wenhe QiDeploy Multi-page Gatsby Site to Lambda FunctionDeploy a multi-page Gatsby app to Amazon Lambda (no Amplify) and solve the page 404 Not Found routing issue.4 min read·Jul 28, 2020----
Wenhe QiHow to Serve Your Front-end Web Pages and Back-end APIs Using the Same URLI’m currently working on an API website that provides users with APIs to retrieve movie information in JSON format. The very first…3 min read·Jul 24, 2020----
Wenhe QiDynamoDB 101 — Connect to DynamoDB in Lambda functionConnecting to DynamoDB from Lambda is even easier than you can think of.2 min read·Jul 23, 2020----
Wenhe QiDynamoDB 101 — Allow Access to a Specific TableBy default AWS managed policies like AmazonDynamoDBFullAccess and AmazonDynamoDBReadOnlyAccess allow corresponding rules to all tables in…3 min read·Jul 22, 2020----