본문 바로가기

분류 전체보기

(49)
[리트코드/JAVA] 1470. Shuffle the Array leetcode.com/problems/shuffle-the-array/ Shuffle the Array - 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 the array nums consisting of 2n elements in the form [x1,x2,...,xn,y1,y2,...,yn]. Return the array in the form [x1,y1,x2,y2,...,xn,yn]. # 제한사항 1
[VS Code/Windows 10] Visual Studio Code 다운로드, 확장(Extension) 프로그램 설치 # VS code는 가볍고 편리하게 사용할 수 있는 소스 코드 에디터입니다. Windows, Mac, Linux에서 전부 사용할 수 있고 특히 Git을 연동할 수 있고 다양한 확장기능이 있어서 파이썬이나 자바같은 프로그래밍 언어도 사용할 수 있습니다. # 설치 code.visualstudio.com/ Visual Studio Code - Code Editing. Redefined Visual Studio Code is a code editor redefined and optimized for building and debugging modern web and cloud applications. Visual Studio Code is free and available on your favorite plat..
[리트코드/JAVA] 1672. Richest Customer Wealth leetcode.com/problems/richest-customer-wealth/ Richest Customer Wealth - 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 # 문제설명 You are given an m x n integer grid accounts where accounts[i][j] is the amount of money the i​​​​​​​​​​​th​​​​ customer has in the j​​​​​​​​​​​th​​​​ ban..
[리트코드/JAVA] 1431. Kids With the Greatest Number of Candies leetcode.com/problems/kids-with-the-greatest-number-of-candies/ Kids With the Greatest Number of Candies - 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 the array candies and the integer extraCandies, where candies[i] represents the number of candies that the ith kid..
[Oracle] 연습용 계정(scott)과 사원 테이블(emp) 만들기 # 처음 오라클을 공부했을 때 scott이라는 계정을 만들어서 연습했습니다. scott계정에는 oracle 구문을 연습할 수 있도록 여러개의 테이블과 데이터가 삽입되어 있는 계정입니다. # 계정 만들기 새로운 계정은 system 계정에서 만들 수 있습니다. 명령 프롬프트(cmd)를 열고 시스템 계정으로 접속합니다. system 계정의 비밀번호는 oracle을 처음 설치할 때 입력한 비밀번호 입니다. sqlplus system/비밀번호 system 계정으로 접속해서 scott계정을 생성합니다. 계정을 만드는 구문은 다음과 같습니다. --CREATE USER 계정명 IDENTIFIED BY 비밀번호 CREATE USER scott IDENTIFIED BY tiger; 계정을 만들고 권한을 부여합니다. RES..
[Eclipse] 창 배치(Layout, 레이아웃) 초기화 # 이클립스를 사용하다 보면 레이아웃을 잘 못 건드릴 때가 있습니다. 보통 드래그로 재배치하면 되지만 너무 달라져서 레이아웃을 초기화 하고 싶을 때 사용하는 방법을 작성하겠습니다. # Reset Perspective Window → prespective → Reset Perspective 를 클릭하면 초기 레이아웃으로 재배치 됩니다. 또는 아래 사진처럼 작업 환경 아이콘을 우클릭 → Reset 을 클릭하면 됩니다.
[SQL Developer/Windows 10] SQL Developer 설치, System 계정 접속 # 오라클을 사용하여 웹 개발을 하기위해 SQL Developer를 설치하겠습니다. SQL Developer를 사용하기 위해서는 Oracle이 설치 되어 있어야 합니다. 오라클 11g 설치하는 방법(여기) [Oracle/Windows 10] 오라클 Database 11g 설치 # Oracle 설치 Window에서 Oracle 11g 설치하겠습니다. 오라클에서는 다운로드 할 때 로그인을 해야 합니다. 아이디가 없다면 회원가입 후 로그인을 하고 진행하면 됩니다. 1. zip 파일 다운로드 www.oracle. parkjye.tistory.com # 실행파일 다운로드 www.oracle.com/tools/downloads/sqldev-downloads.html 위의 링크에 접속해서 운영체제에 맞는 SQL De..
[리트코드/JAVA] 1480. Running Sum of 1d Array leetcode.com/problems/running-sum-of-1d-array/ Running Sum of 1d Array - 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 nums. We define a running sum of an array as runningSum[i] = sum(nums[0]…nums[i]). Return the running sum of nums. # 입출력 예 예 1. Input: nums..