Go, Vantage point
가까운 곳을 걷지 않고 서는 먼 곳을 갈 수 없다.
Github | https://github.com/overnew/
Blog | https://everenew.tistory.com/

문제 https://leetcode.com/problems/count-of-sub-multisets-with-bounded-sum/description/ Count of Sub-Multisets With Bounded Sum - LeetCode Can you solve this real interview question? Count of Sub-Multisets With Bounded Sum - You are given a 0-indexed array nums of non-negative integers, and two integers l and r. Return the count of sub-multisets within nums where the sum of elements in each s leet..

이전 글에 이어서 이번에는 SNS로 트리거 되는 Slack 알림을 Lambda로 만들어보자. https://everenew.tistory.com/331 AWS boto3로 SNS Topic에 메시지 전송하기 (python) 이번에는 AWS의 SNS Topic(주제)에 메시지를 전송시켜 보자. 주요 코드는 아래의 공식문서를 참고해서 만들었다. https://docs.aws.amazon.com/ko_kr/code-library/latest/ug/python_3_sns_code_examples.html 자격증명 방식 AW everenew.tistory.com Slack WebHook 추가 일단 사용할 slack 채널을 생성하고 webhook를 추가해 주자. 채널 설정 -> 앱 추가에서 webhook를 추가해서..

문제 https://leetcode.com/problems/maximum-number-of-k-divisible-components/description/ Maximum Number of K-Divisible Components - LeetCode Can you solve this real interview question? Maximum Number of K-Divisible Components - There is an undirected tree with n nodes labeled from 0 to n - 1. You are given the integer n and a 2D integer array edges of length n - 1, where edges[i] = [ai, bi] ind le..

이번에는 AWS의 SNS Topic(주제)에 메시지를 전송시켜 보자. 주요 코드는 아래의 공식문서를 참고해서 만들었다. https://docs.aws.amazon.com/ko_kr/code-library/latest/ug/python_3_sns_code_examples.html 자격증명 방식 AWS 자원 내부에서 동작한다면 아래처럼 자격증명을 파일로 저장시켜서 계정에 접근할 수 있다. https://docs.aws.amazon.com/ko_kr/powershell/latest/userguide/specifying-your-aws-credentials.html AWS 자격 증명 사용 - AWS Tools for PowerShell AWS 자격 증명 사용 각 AWS Tools for PowerShell 명령..
문제 https://leetcode.com/problems/split-array-into-maximum-number-of-subarrays/description/ LeetCode - The World's Leading Online Programming Learning Platform Level up your coding skills and quickly land a job. This is the best place to expand your knowledge and get prepared for your next interview. leetcode.com 풀이 난이도: Medium SubArr는 연속이어야 했기때문에 쉬운 문제였다. A subarray is a contiguous part of an ar..
문제 https://leetcode.com/problems/minimum-array-length-after-pair-removals/description/ LeetCode - The World's Leading Online Programming Learning Platform Level up your coding skills and quickly land a job. This is the best place to expand your knowledge and get prepared for your next interview. leetcode.com 풀이 난이도: Medium 어떤 식으로 쌍을 맞춰줘야 될지 이리저리 해봤지만, 결국에는 간단한 그리디 방식으로 해결된다. 아래 배열에서 쌍을 맞춰보자. 1 1..
문제 https://leetcode.com/problems/maximum-element-sum-of-a-complete-subset-of-indices/description/ LeetCode - The World's Leading Online Programming Learning Platform Level up your coding skills and quickly land a job. This is the best place to expand your knowledge and get prepared for your next interview. leetcode.com 풀이 난이도: Hard weekly contest의 최종 보스 문제. https://leetcode.com/contest/weekly-co..

문제 https://leetcode.com/problems/maximum-number-of-alloys/description/ LeetCode - The World's Leading Online Programming Learning Platform Level up your coding skills and quickly land a job. This is the best place to expand your knowledge and get prepared for your next interview. leetcode.com 풀이 난이도: Medium 주간 Leetcode contest문제를 풀어보자~~ https://leetcode.com/discuss/general-discussion/4053842/wee..

원래 잘 실행되던 태스크가 갑자기 오류가 나기 시작했다. ResourceInitializationError: unable to pull secrets or registry auth: execution resource retrieval failed: unable to retrieve ecr registry auth: service call has been retried 3 time(s): RequestError: send request failed caused by: Post "https://api.ecr.ap-northeast-2.amazonaws.com/": dial tcp 54.180.184.245:443: i/o timeout. Please check your task network configur..

SAA를 준비한 이유 AWS 자격증에서 Foundational 단계는 전공자라면 따기 쉬운 편이다. 물론 따면 좋겠지만, AWS 자격증 시험 비용들이 상당하기 때문에 본인은 바로 Solutions Architect Associate(SAA) 단계에 도전하였다. Foundational는 Associate의 다음 단계로, 1년 이상의 실무 경험이 뒷받침해주어야 한다. (필수인 것은 아니다.) 본인은 AWS 서비스를 제대로 사용하기 시작한 지 2달이 안된다. 하지만, 제대로된 아키텍처 설계를 하기에는 AWS cloud 서비스를 너무 몰랐기 때문에 결국에 공부가 필요하다고 생각했다. 그렇다면 공부하는 김에 자격증까지 따보자! 하는 생각에 SAA를 준비하게 되었다. SAA 공부를 하기 전에는 EC2 밖에 쓸 줄 ..