paint-brush
Power of Four and Reverse Vowels of a Stringby@deft
462 reads
462 reads

Power of Four and Reverse Vowels of a String

by Sergey Golitsyn3mSeptember 9th, 2022
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

Given an integer `n` is a power of four, if there exists an integer such that `x` such that`n == 4x` The easiest way how to solve this problem is to divide N on 4 and that is it. We will iterate again and again till our number is bigger than 1. Author: Sergei Golitsynlink: <https://leetcode.com/problems/power-of-four/Given an integer `n` return `true` if it is a power of four. Otherwise, return`false`
featured image - Power of Four and Reverse Vowels of a String
Sergey Golitsyn HackerNoon profile picture
Sergey Golitsyn

Sergey Golitsyn

@deft

Senior Software Engineer with 7+ YoE building massively scalable systems both from scratch and diving into a codebase

About @deft
LEARN MORE ABOUT @DEFT'S
EXPERTISE AND PLACE ON THE INTERNET.
0-item

STORY’S CREDIBILITY

Code License

Code License

The code in this story is for educational purposes. The readers are solely responsible for whatever they build with it.

L O A D I N G
. . . comments & more!

About Author

Sergey Golitsyn HackerNoon profile picture
Sergey Golitsyn@deft
Senior Software Engineer with 7+ YoE building massively scalable systems both from scratch and diving into a codebase

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite
Learnrepo
Tefter
Allella
Freshnews
Sumi
Mchone