목록전체 글 (1208)
넘치게 채우기
https://leetcode.com/problems/decode-ways/description/ Decode Ways - LeetCode Can you solve this real interview question? Decode Ways - A message containing letters from A-Z can be encoded into numbers using the following mapping: 'A' -> "1" 'B' -> "2" ... 'Z' -> "26" To decode an encoded message, all the digits must be grouped then leetcode.com leetcode - Decode Ways 문제 유형 : 다이나믹 프로그래밍 문제 난이도 :..
https://leetcode.com/problems/climbing-stairs/description/ Climbing Stairs - LeetCode Can you solve this real interview question? Climbing Stairs - You are climbing a staircase. It takes n steps to reach the top. Each time you can either climb 1 or 2 steps. In how many distinct ways can you climb to the top? Example 1: Input: n = 2 Outpu leetcode.com leetcode - Climbing Stairs 문제 유형 : 다이나믹 프로그래밍..
https://leetcode.com/problems/minimum-changes-to-make-alternating-binary-string/description/ Minimum Changes To Make Alternating Binary String - LeetCode Can you solve this real interview question? Minimum Changes To Make Alternating Binary String - You are given a string s consisting only of the characters '0' and '1'. In one operation, you can change any '0' to '1' or vice versa. The string is..
https://leetcode.com/problems/path-crossing/description/ Path Crossing - LeetCode Can you solve this real interview question? Path Crossing - Given a string path, where path[i] = 'N', 'S', 'E' or 'W', each representing moving one unit north, south, east, or west, respectively. You start at the origin (0, 0) on a 2D plane and walk on the leetcode.com leetcode - Path Crossing 문제 유형 : 수학, 구현 문제 난이도..
이미지 최적화하기 HTML 이미지 사용하기 HTML 이미지 요소를 사용하여서 콘텐츠에 이미지를 삽입하는 것은 좋다. - HTML 또는 요소 사용하기 시맨틱 HTML 마크업을 사용하면 크롤러가 이미지를 찾고 처리할 수 있다. 요소를 사용하여 반응형 이미지를 위한 다양한 화면 크기에 여러 옵션을 지정할 수도 있다. 이미지에 loading = "lazy"속성을 사용하면 사용자가 페이지를 더 빠르게 볼 수 있다. ❌이것만은 피하자) CSS를 사용하여 색인을 생성할 이미지 표시 - alt 속성 하용하기 이미지와 관련된 설명을 제공하는 파일 이름 및 alt속성을 사용하라. alt 속성을 사용하면 어떤 이유로 이미지를 표시할 수 없는 때 대신 표시할 텍스트를 지정할 수 있다. alt 속성의 다른 이유는 이미지를 링크..
테스트는 시스템의 일부이며, 아키텍처에도 관여한다. 시스템 컴포넌트인 테스트 테스트는 시스템의 일부인가? 아니면 별개인가? 어떤 종류의 테스트가 있는가? 단위 테스트와 통합 테스트는 서로 다른가? 인수 테스트, 기능 테스트, Cucumber 테스트, TDD 테스트, BDD 테스트, 컴포넌트 테스트 등은 어떻지? 아키텍처 관점에서는 모든 테스트가 동일하다. TDD로 생성한 아주 작은 테스트이든, 아니면 대규모의 테스트이든, 이들 테스트는 아키텍처적으로 모두 동일하다. 테스트는 태생적으로 의존성 규칙을 따른다. 테스트는 세부적이며 구체적인 것으로, 의존성은 항상 테스트 대상이 되는 코드를 향한다. 실제로 테스트는 아키텍처에서 가장 바깥쪽 원으로 생각할 수 있다. 시스템 내부의 어떤 것도 테스트에는 의존하지 ..
https://leetcode.com/problems/maximum-score-after-splitting-a-string/description/ Maximum Score After Splitting a String - LeetCode Can you solve this real interview question? Maximum Score After Splitting a String - Given a string s of zeros and ones, return the maximum score after splitting the string into two non-empty substrings (i.e. left substring and right substring). The scor leetcode.co..
콘텐츠 최적화하기 사이트를 재미있고 유용하게 만들기 설득력 있고 유용한 콘텐츠 개발은 가장 중요한 요인이다. 사용자는 좋은 콘텐츠를 바로 알아보며, 다른 사용자들에게 이 콘텐츠를 공유하려 한다. 입소문은 블로그 게시문, 소셜 미디어, 서비스, 이메일, 포럼 또는 기타 방법으로 전해진다. 자연스럽게 입소문을 통해 형성된 인기는 사용자 및 구글에서 사이트의 평판을 높여주며, 이는 품질이 우수한 콘텐츠 없이는 거의 불가능한 일이다. 독자가 무엇을 원하는지 이해하고 제공하기 사용자가 내 콘텐츠를 찾을 때, 어떤 검색어를 사용할지 생각해보라. 어떤 주제에 대해서 잘 아는 사람은 잘 모르는 사람들과는 다른 검색어를 사용한다. ex)오래 된 축구팬: 'fifa'를 검색, 최근에 축구를 입문한 팬: '축구 플레이오프'..
서비스 지향 ‘아키텍처’와 마이크로서비스 ‘아키텍처’는 최근에 큰 인기를 끌고있다. 서비스를 사용하면 상호 결합이 철저하게 분리되는 것처럼 보인다. 나중에 보겠지만, 이는 일부만 맞는 말이다. 서비스를 사용하면 개발과 배포 독립성을 지원하는 것처럼 보인다. 나중에 보겠지만, 이 역시도 일부만 맞는 말이다. 서비스 아키텍처? 먼저 서비스를 사용한다는 것이 본질적으로 아키텍처에 해당하는지에 대해 생각해 보자. 이 개념은 명백히 사실이 아니다. 시스템의 아키텍처는 의존성 규칙을 준수하며 고수준의 정책을 저수준의 세부사항으로부터 분리하는 경계에 의해 정의된다. 단순히 애플리케이션의 행위를 분리할 뿐인 서비스라면 값비싼 함수 호출에 불과하며, 아키텍처 관점에서 꼭 중요하다고 볼 수는 없다. 모든 서비스가 반드시 ..
https://leetcode.com/problems/widest-vertical-area-between-two-points-containing-no-points/submissions/1124652257/ 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 leetcode - Widest Vertical Area BetWeen Two Points 문제 유형 : 수..