Web app vs Mobile app What is a web application? and what is the difference between a web app and mobile app? The web application is a software application that is accessed through a web browser, whereas the mobile application can installed and used on your smartphone directly. While website shows users static data such as news and articles, web app allows users to deal with individual data, for..
문제 설명자연수 n을 입력받아 n의 약수(divisor)를 모두 더한 값을 리턴하는 함수, solution을 완성해주세요.제한 사항n은 0 이상 3000이하인 자연수입니다.입출력 예nreturn122856입출력 예 설명입출력 예 #1 12의 약수는 1, 2, 3, 4, 6, 12입니다. 이를 모두 더하면 28입니다.입출력 예 #2 5의 약수는 1, 5입니다. 이를 모두 더하면 6입니다. 두개의 숫자가 구구단처럼 1부터 돌아가며 체크하는 말도 안되는코드를 머리 아프게 짜놓고 문제를 다시 보니 자연수 3000까지,,,,,, 풀기전에 문제를 똑바로 읽자,,, Solution 1234567891011class Solution { public int solution(int n) { int answer = 0; f..
Collection Framework collection framework is a collection providing an architecture to store the group of objects.Java primitive types are not considered objects. Since Java collections only store objects, primitive types are not allowed to store. Thus, we need wrapper class or autoboxing to store data. Interfaces - Set,List,Queue,DequeClasses - ArrayList, Vector, LinkedList,HashSet,LinkedHashSe..
abstract In Java, abstract class can have without any abstract method. However, if there is an abstract class in a class, the class must be the abstract class. The abstract class is not able to be instantiated but allow to be inherited. Moreover, by creating subclass, reference of derive class can be created. You can have a reference to an abstract class by creating some other class that derives..
문제 설명String형 배열 seoul의 element중 Kim의 위치 x를 찾아, 김서방은 x에 있다는 String을 반환하는 함수, solution을 완성하세요. seoul에 Kim은 오직 한 번만 나타나며 잘못된 값이 입력되는 경우는 없습니다.제한 사항seoul은 길이 1 이상, 1000 이하인 배열입니다.seoul의 원소는 길이 1 이상, 20 이하인 문자열입니다.Kim은 반드시 seoul 안에 포함되어 있습니다.입출력 예seoulreturn[Jane, Kim]김서방은 1에 있다 풀이 12345678910111213class Solution { public String solution(String[] seoul) { String answer = ""; String k = "Kim"; for(int..
문제 설명 단어 s의 가운데 글자를 반환하는 함수, solution을 만들어 보세요. 단어의 길이가 짝수라면 가운데 두글자를 반환하면 됩니다. 재한사항 s는 길이가 1 이상, 100이하인 스트링입니다. 입출력 예 s return abcde c qwer we Solution 1 in Java 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 class Solution { public String solution(String s) { String answer = ""; int position = 0; int length = 0; if (s.length() % 2 == 0){ position = s.length() / 2 - 1; length = 2; }else if(s.length(..
- Total
- Today
- Yesterday
- spring boot application
- algorithm
- 프로그래머스 알고리즘
- easy algorithm
- hackerrank javascript solution
- 프로그래머스
- substring()
- hackerrank
- 프로그래머스 알고리즘문제
- code refactoring
- string class in java
- HashMap
- math.abs
- compareTo()
- hackerrank javascript
- easy javascript algorithm
- java
- rest parameter
- C++
- hackerrank solution
- 알고리즘
- ... in Javascript
- javascript
- equals()
- Javascript Algorithm
- repeat()
- math.max
- Collection Framework
- HackerRank Algorithm
- Object type casting
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | |
7 | 8 | 9 | 10 | 11 | 12 | 13 |
14 | 15 | 16 | 17 | 18 | 19 | 20 |
21 | 22 | 23 | 24 | 25 | 26 | 27 |
28 | 29 | 30 | 31 |