Leetcode#4_ZigZag Convention_05wk02 by SOMJANG 포스팅 썸네일 이미지

우리가 공부한 것 들/알고리즘

Leetcode#4_ZigZag Convention_05wk02 by SOMJANG

The string "PAYPALISHIRING" is written in a zigzag pattern on a given number of rows like this: (you may want to display this pattern in a fixed font for better legibility) P A H N A P L S I I G Y I R And then read line by line: "PAHNAPLSIIGYIR" Write the code that will take a string and make this conversion given a number of rows: string convert(string s, int numRows); Example 1: Input: s = "PA..

2020.05.13 게시됨

Leetcode#3_Longest Substring Without Repeating Characters _05wk01 by SOMJANG 포스팅 썸네일 이미지

우리가 공부한 것 들/알고리즘

Leetcode#3_Longest Substring Without Repeating Characters _05wk01 by SOMJANG

Given a string, find the length of the longest substring without repeating characters. Example 1: Input: "abcabcbb" Output: 3 Explanation: The answer is "abc", with the length of 3. Example 2: Input: "bbbbb" Output: 1 Explanation: The answer is "b", with the length of 1. Example 3: Input: "pwwkew" Output: 3 Explanation: The answer is "wke", with the length of 3. Note that the answer must be a su..

2020.05.11 게시됨

Python Folium을 이용하여 지도상에 버스 정류소 위치 나타내기 포스팅 썸네일 이미지

경진대회, 공모전/COMPAS 화성시 최적 시내버스 노선 제시

Python Folium을 이용하여 지도상에 버스 정류소 위치 나타내기

Python의 Folium을 활용하여 지도상에 버스정류소 위치를 나타내 보았습니다. Folium에 대한 설명 및 예시는 공식 document에 비교적 자세히 깔끔하게 정리되어 있습니다. https://python-visualization.github.io/folium/ Folium — Folium 0.10.1 documentation folium builds on the data wrangling strengths of the Python ecosystem and the mapping strengths of the leaflet.js library. Manipulate your data in Python, then visualize it in on a Leaflet map via folium. Conce..

2019.12.11 게시됨