전체 글621 API의 개념 뿌수기! (필수 API 개념 기술) API = 키보드 프로그램들 간의 소통 방법 API 역할 API는 서버와 DB의 출입구 역할 데이터베이스에는 소중한 정보들이 저장되고, 누구나 DB에 속하는것을 막아야 함. API는 이를 방지하기 위해 서버와 데이터베이스에 대한 출입구 역할을 하며, 허용된 사람들에게만 접근성을 부여해줍니다. API는 애플리케이션과 기기가 원할하게 통신할 수 있게 해 준다. 여기서 애플리케이션이란 우리가 흔히 알고 있는 스마트폰 어플이나 프로그램을 말합니다. API는 애플리케이션과 기기가 데이터를 원활히 주고받을 수 있도록 돕는 역할을 합니다. API는 모든 접속을 표준화한다. API는 모든 접속을 표준화하기 때문에 기계/ 운영체제 등과 상관없이 누구나 동일한 액세스를 얻을 수 있습니다. 쉽게 말해, API는 범용 플러그.. 2021. 1. 17. Two sum Given an array of integers nums and an integer target, return indices of the two numbers such that they add up to target. You may assume that each input would have exactly one solution, and you may not use the same element twice. You can return the answer in any order. Example 1: Input: nums = [2,7,11,15], target = 9 Output: [0,1] Output: Because nums[0] + nums[1] == 9, we return [0, 1]. Example.. 2021. 1. 17. Time Conversion Given a time in -hour AM/PM format, convert it to military (24-hour) time. Note: - 12:00:00AM on a 12-hour clock is 00:00:00 on a 24-hour clock. - 12:00:00PM on a 12-hour clock is 12:00:00 on a 24-hour clock. Example Return '12:01:00'. Return '00:01:00'. Function Description Complete the timeConversion function in the editor below. It should return a new string representing the input time in 24 .. 2021. 1. 17. Birthday Cake Candles You are in charge of the cake for a child's birthday. You have decided the cake will have one candle for each year of their total age. They will only be able to blow out the tallest of the candles. Count how many candles are tallest. Example The maximum height candles are units high. There are of them, so return . Function Description Complete the function birthdayCakeCandles in the editor below.. 2021. 1. 17. Mini-Max Sum Given five positive integers, find the minimum and maximum values that can be calculated by summing exactly four of the five integers. Then print the respective minimum and maximum values as a single line of two space-separated long integers. Example The minimum sum is and the maximum sum is . The function prints 16 24 Function Description Complete the miniMaxSum function in the editor below. mi.. 2021. 1. 17. Staircase Staircase detail This is a staircase of size : # ## ### #### Its base and height are both equal to . It is drawn using # symbols and spaces. The last line is not preceded by any spaces. Write a program that prints a staircase of size . Function Description Complete the staircase function in the editor below. staircase has the following parameter(s): int n: an integer Print Print a staircase as d.. 2021. 1. 17. 이전 1 ··· 81 82 83 84 85 86 87 ··· 104 다음