분류 전체보기
-
위데이터랩(Wedatalab) IT Innovator 프로그램이 시작되었습니다.책, 강연, 스터디 2019. 2. 10. 20:23
위데이터랩(Wedatalab)의 IT Innovator 발대식에 참석하였습니다.시간 : 19년 2월 8일장소 : 논현역 6번 출구옆, 바로 옆건물인 크립토스퀘어 11층 발대식 하니 좀 거창해 보이기는 하지만, 앞으로 진행하게될 IT Innovator 프로그램에 대한 소개와, 위데이터랩은 어떤 회사인지에 대한 소개를 듣고 왔습니다. 2월에는 주로 블록체인과 가상화폐 강의가 진행됩니다. 앞으로 머신러닝/R/SQL 세미나도 진행 될 예정이구요, 앞으로 6개월간 계속 된다고 하니, 기대가 됩니다. :)유다시티에서 영어로 강의듣기는 정말 힘들었는대, 한국어로 드디어 듣게 되었네요 ㅎㅎ R, 머신러닝은 유다시티 강의를 좀 들어서, 조금은 내용을 알고 있는대, 블록체인은 처음이라서, 기대가 되는 강의 입니다.Udac..
-
hackerrank.com Practice>Python>Collections>DefaultDict Tutorialhackerrank.com 2019. 2. 10. 14:57
DefaultDict TutorialProblem link : https://www.hackerrank.com/challenges/defaultdict-tutorial/problem Difficulty : EasyTipProblem suggest to use defaultdict(), however, it seems that just using list is better wayOne loop for list m, as per each m, to find index of m from list nthis way is better to know index from list nSolution a = list(map(int, input().split())) n = a[0] m = a[1] ns = [] ms = ..
-
hackerrank.com Practice>Python>Itertools>Compress the String!hackerrank.com 2019. 2. 7. 21:43
Compress the String! TipThis is quite simple problem if you understand how to use groupby()Focus two variables(k and g) are iterated from groupby()As an example groupby('aaabb'), g is 'aaa', and k is 'a' Solution from itertools import groupby s = input() o = [(len(list(g)), int(k)) for k, g in groupby(s)] print(*o)
-
hackerrank.com Practice>Python>Sets>No Idea!hackerrank.com 2019. 2. 6. 16:18
No Idea! TipPlease utilize set() to check that n integers is in set A(or B)Actually, the numbers(n and m) is not matter for problemAs we can split and count each integer from input(), like belowinput().split()Create list from n integersCreate set A and set Bcheck each item in list is in set A or set B Solution # Enter your code here. Read input from STDIN. Print output to STDOUT n, m = input().s..
-
hackerrank.com Practice>Python>Strings>Merge the Tools!hackerrank.com 2019. 2. 4. 20:16
hackerrank.com Practice>Python>Strings>Merge the Tools! Merge the Tools! TipWe can solve this problem with setHowever, better way, is the using string replacementSubstring as per the length of kinput is spick the first character, and replace it to ''s.replace(s[0])Now, duplication of first character is resolveTo apply the way, to whole string, please see belows[0:j] + s1[j:].replace(s1[j-1], '')..
-
hackerrank.com Practice>Python>Strings>The Minion Gamehackerrank.com 2019. 2. 4. 20:04
hackerrank.com Practice>Python>Strings>The Minion Game 'The Minion Game' TipBasic approach should be substring, this is not regarding combination and permutationthe sequence of characters is not changedif input is BANits substrings are like belowB
-
Sharing script to set dual monitors position카테고리 없음 2019. 1. 14. 14:06
xrandr is a utility to set resolution and layout of multiple monitors. Let me share my resolutions. bkk@bkk-dt:~/bin$ xrandr Screen 0: minimum 8 x 8, current 3840 x 1080, maximum 16384 x 16384 DVI-I-0 disconnected (normal left inverted right x axis y axis) DVI-I-1 disconnected (normal left inverted right x axis y axis) DVI-I-2 connected 1920x1080+1920+0 (normal left inverted right x axis y axis)..
-
Ubuntu 16.04 / monitor resolution/rotation is reset after rebootingDevelopment 2018. 12. 4. 20:47
# Problem regarding monitor resolution/rotationProblem is whenever my Ubuntu 16.04 is rebooted, two monitors resolution/rotations are reset.After every rebooting, I should reset monitor resolution/rotation manually. # Prerequisites## Common stepsarandr should be installed properly ## If you are using NVIDIA graphic cardnvidia-settings should be installed properly. # Analysis from log## Monitor's..