알고리즘/[ LeetCode ] 7

[ LeetCode ][JAVA][3] Longest Substring Without Repeating Characters

https://leetcode.com/problems/longest-substring-without-repeating-characters/ Longest Substring Without Repeating Characters - LeetCode 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 문제 Given a string s, find the length of the longest substring without repeating characters. Example 1: Inpu..

[ LeetCode ][JAVA][103] Binary Tree Zigzag Level Order Traversal

leetcode.com/problems/binary-tree-zigzag-level-order-traversal/ Binary Tree Zigzag Level Order Traversal - LeetCode 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 문제 Given a binary tree, return the zigzag level order traversal of its nodes' values. (ie, from left to right, then right to le..

[ LeetCode ][JAVA][169] Majority Element (과반수알고리즘)

leetcode.com/problems/majority-element/ Majority Element - LeetCode 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 문제 Given an array of size_n_, find the majority element. The majority element is the element that appearsmore than⌊ n/2 ⌋times. You may assume that the array is non-empty and ..