목록Programming (64)
Allen's 데이터 맛집

"GoLang" 프로젝트는 Google이 개발한 Go 언어를 사용해 효율적이고 간결한 코드를 작성하는 방법을 탐구하고, Go의 강력한 병렬 처리와 간결성을 활용한 다양한 응용 프로그램을 개발하기 위해 설계되었습니다.이 글에서는 프로젝트의 주요 내용을 정리하고, Go의 핵심 특징과 구현 사례를 중심으로 설명합니다. 1. Go 언어란?Go는 간단하면서도 강력한 기능을 제공하는 오픈 소스 프로그래밍 언어로, 특히 대규모 분산 시스템과 고성능 서버 개발에 적합합니다.주요 특징:간결함: 코드 작성이 쉽고 직관적.병렬 처리 지원: 고루틴(Goroutines)과 채널(Channels)을 통해 효율적인 병렬 프로그래밍 제공.정적 타이핑: 강력한 타입 검사로 안정성과 성능을 보장.빠른 컴파일: 대규모 프로젝트에서도 빠..

import java.util.*;//https://programmers.co.kr/learn/courses/30/lessons/42587//Programmers stack/Queue 중 프린터 문제public class Printer { public static void main(String[] args) { int[] priorities = { 1, 1, 9, 1, 1, 1 }; int location = 2; System.out.println(solution(priorities, location)); } public static int solution(int[] priorities, int location) { int answer = 0; LinkedList list = new Lin..

import java.util.ArrayList;public class IronBar { public static void main(String[] args) { System.out.println(solution("()(((()())(())()))(())")); } public static int solution(String arrangement) { //copyArray 는 arrangement 중에 ()'레이저' 를 알아 보기 쉽게 replace()를 사용하여 0으로 바꾼후 answer 초기화 String copyArray = arrangement.replace("()", "0"); //answer 는 토막난 막대기 수. int answer = 0; ArrayList copy..

이번 포스트에서 파이썬 환경을 통해 라이브러리를 다운받을 때 발생하는 에러 해결 방법에 대해서 알아보겠습니다 https://github.com/haven-jeon/PyKoSpacing GitHub - haven-jeon/PyKoSpacing: Automatic Korean word spacing with PythonAutomatic Korean word spacing with Python . Contribute to haven-jeon/PyKoSpacing development by creating an account on GitHub.github.com 텍스트 전처리를 위한 PyKoSpcaing 이란 라이브러리를 다운 받으려고 할 때 다음과 같은 에러가 발생하였습니다.ERROR: Cannot find ..