개발조각

[리트코드] 50. Pow(x, n) 본문

알고리즘🅰/리트코드

[리트코드] 50. Pow(x, n)

개발조각 2022. 10. 25. 12:40
728x90
반응형

문제

https://leetcode.com/problems/powx-n/

 

Pow(x, n) - 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

 

소스코드

var myPow = function(x, n) {
    return x ** n;
};

728x90
반응형

'알고리즘🅰 > 리트코드' 카테고리의 다른 글

[리트코드] 54. Spiral Matrix  (0) 2022.10.29
[리트코드] 49. Group Anagrams  (0) 2022.10.26
[리트코드] 48. Rotate Image  (0) 2022.10.24
[리트코드] 46. Permutations  (0) 2022.10.09
[리트코드] 43. Multiply Strings  (0) 2022.10.08
Comments