https://school.programmers.co.kr/learn/courses/30/lessons/176962 프로그래머스 코드 중심의 개발자 채용. 스택 기반의 포지션 매칭. 프로그래머스의 개발자 맞춤형 프로필을 등록하고, 나와 기술 궁합이 잘 맞는 기업들을 매칭 받으세요. programmers.co.kr 📌- 풀이 및 코드 일단 문제를 봤을 때 , 우선순위 큐와 스택을 사용해서 풀면되겠다라는 생각이 들었지만, 여러 조건문들을 쓰다보니 헷갈려서 꽤 오랜시간 풀었다. 그렇게 어렵지 않은 문제인데 너무 시간을 많이 쓴 것 같아서 어떤 점이 문제였나 복기를 다시 해보니 처음 문제를 풀 때 의사코드를 적당히 작성하고 시작해서 헷갈리는 부분이 발생했을 때 더 오래 걸렸다고 생각함. 이건 어떤 프로그램이든 ..
https://leetcode.com/problems/clone-graph/description/?envType=study-plan-v2&envId=top-interview-150 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 🌿 - 설명 주어진 그래프를 깊은 복사하는 것을 구현하면 된다. 📌- 풀이 간단하게 생각하면 결국 전체를 탐색해서 복사를 해야 한다고..
https://leetcode.com/problems/design-add-and-search-words-data-structure/description/?envType=study-plan-v2&envId=top-interview-150 Design Add and Search Words Data Structure - LeetCode Can you solve this real interview question? Design Add and Search Words Data Structure - Design a data structure that supports adding new words and finding if a string matches any previously added string. Impleme..
https://leetcode.com/problems/binary-tree-right-side-view/description/?envType=study-plan-v2&envId=top-interview-150 Binary Tree Right Side View - LeetCode Can you solve this real interview question? Binary Tree Right Side View - Given the root of a binary tree, imagine yourself standing on the right side of it, return the values of the nodes you can see ordered from top to bottom. Example 1: [h..
https://leetcode.com/problems/kth-smallest-element-in-a-bst/description/?envType=study-plan-v2&envId=top-interview-150 Kth Smallest Element in a BST - LeetCode Can you solve this real interview question? Kth Smallest Element in a BST - Given the root of a binary search tree, and an integer k, return the kth smallest value (1-indexed) of all the values of the nodes in the tree. Example 1: [https:..
https://leetcode.com/problems/search-in-rotated-sorted-array/description/?envType=study-plan-v2&envId=top-interview-150 Search in Rotated Sorted Array - LeetCode Can you solve this real interview question? Search in Rotated Sorted Array - There is an integer array nums sorted in ascending order (with distinct values). Prior to being passed to your function, nums is possibly rotated at an unknown..