---
title: "Discussion on \"Find Nth Root Of M\" | Hashnode"
description: "Discussion on \"Find Nth Root Of M\". Problem statement\nYou are given two positive integers 'n' and 'm'. You have to return the 'nth' root of 'm', i.e. 'm(1/n)'. If the 'nth root is not an integer, return -1. (link)\nNote:\n'nth' root of an integer 'm' is a number, which, when raised to th..."
url: "https://hashnode.com/posts/find-nth-root-of-m/660038c623227d37931c1ead"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Find Nth Root Of M](https://chetan77.hashnode.dev/find-nth-root-of-m?utm_source=hashnode&utm_medium=feed)

Problem statement You are given two positive integers 'n' and 'm'. You have to return the 'nth' root of 'm', i.e. 'm(1/n)'. If the 'nth root is not an integer, return -1. (link) Note: 'nth' root of an integer 'm' is a number, which, when raised to th...

Mar 24, 2024 · 3 min read · chetan77.hashnode.dev  
Read the article

-   [#leetcode](https://hashnode.com/tag/leetcode)
-   [#binary-search](https://hashnode.com/tag/binary-search)
-   [#software-development](https://hashnode.com/tag/software-development)
-   [#leetcode-solution](https://hashnode.com/tag/leetcode-solution)
-   [#striversa2zdsa](https://hashnode.com/tag/striversa2zdsa)
-   [#binary-search-on-answer](https://hashnode.com/tag/binary-search-on-answer)

## Written by

[Chetan Datta](https://hashnode.com/@chetan77)

@chetan77 · Hyderabad, India

  
[View profile](https://hashnode.com/@chetan77)

Software Engineer

I share my learnings here. Thanks for reading.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
