From 62dbcde0ba226b32507c6b1a8c8e8c1995e06fc5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sezai=20Burak=20Kantarc=C4=B1?= <45287996+kantarcise@users.noreply.github.com> Date: Tue, 28 Nov 2023 22:56:08 +0300 Subject: [PATCH] The Perfect Hour :stopwatch: --- neetcode/readme.md | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/neetcode/readme.md b/neetcode/readme.md index 05aed746..b48d7ac6 100644 --- a/neetcode/readme.md +++ b/neetcode/readme.md @@ -1547,7 +1547,16 @@ wip - - str(), int(), float(), list() -- 148: +- 148.pow_x_n: + + - If the power is negative, just return 1 / result + - + - you can solve the problem, using recursion + - + - condition is based on the power and it getting halved. + - + - If you are writing a while block, you have + - to exit it at some point. - 149: