본문 바로가기

공부하며놀자/프로그래밍40

정보를 받아서 보여주는 웹 Web Application 만들기 heroku github nodejs 1. 목적 웹에서 현재 컴퓨터(장비) 사용자를 실시간으로 확인하기 위하여. 현재는 단톡 방에 누가 사용 중인지 묻고, 사용자가 없으면 사용하고 아니면 줄 서서 사용. 현재 사용자 말고 다른 사람들에게는 연락이 안 가도 되는 상황. 2. 방법 a. 클라이언트 : 현재 사용자를 확인하여 주기적으로 서버에 업데이트하기 (C#) b. 서버 : 클라이언트가 주기적으로 보내주는 정보를 저장하고 웹에 뿌려주기 (Node JS) 3. 공부 a. 클라이언트 : background에서 돌리려고 윈도우 서비스 프로그램으로 시도해봤다. 하지만 서비스 프로그램은 일반 앱과 달리 limitation이 많아서 중간에 포기하고 Winform base로 만들고 시작하자마자 창을 숨겨서 background에서 돌도록 했다. 혹시나 재부.. 2021. 2. 4.
[leetcode] 20. Valid Parentheses 20. Valid Parentheses Easy 6619269Add to ListShare Given a string s containing just the characters '(', ')', '{', '}', '[' and ']', determine if the input string is valid. An input string is valid if: Open brackets must be closed by the same type of brackets. Open brackets must be closed in the correct order. Example 1: Input: s = "()" Output: true Example 2: Input: s = "()[]{}" Output: true Exa.. 2021. 1. 22.
[leetcode] 14. Longest Common Prefix 14. Longest Common Prefix Easy 35482083Add to ListShare Write a function to find the longest common prefix string amongst an array of strings. If there is no common prefix, return an empty string "". Example 1: Input: strs = ["flower","flow","flight"] Output: "fl" Example 2: Input: strs = ["dog","racecar","car"] Output: "" Explanation: There is no common prefix among the input strings. Constrain.. 2021. 1. 16.
[leetcode] 13. Roman to Integer 13. Roman to Integer Easy 28473880Add to ListShare Roman numerals are represented by seven different symbols: I, V, X, L, C, D and M. Symbol Value I 1 V 5 X 10 L 50 C 100 D 500 M 1000 For example, 2 is written as II in Roman numeral, just two one's added together. 12 is written as XII, which is simply X + II. The number 27 is written as XXVII, which is XX + V + II. Roman numerals are usually wri.. 2021. 1. 16.
반응형