Skip to content
CodeMarvels
All's the Code !
  • Home
  • Privacy Policy
  • About

Tag: efficient

Algorithms

Best Code to find n to the power k(n^k)

Posted on July 4, 2013 by saurabh / 0 Comment

To find n^k,using brute force, ALGORITHM- Initialize result to 1. Iterate from 1 to k and multiply n to result. Return result. CODE- result=1; for(i=1;i<=k;i...

Recent Posts

  • Fix : Docker node down after restart
  • IP Telephony – bit rates of audio formats, and other notes
  • Fix: Cannot start container Subnet sandbox join failed error from docker
  • React Ajax call on load gives : “Error: Should not already be working.”
  • Fix : The repository ‘http://archive.ubuntu.com/ubuntu disco-backports Release’ no longer has a Release file.

Categories

  • Algorithms
  • Android Development
  • BoshServlet
  • C++ projects
  • Code Philosophies
  • Conversational AI
  • Machine Learning
  • Miscellaneous
  • Notes
  • Society
  • Technology

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org
© 2021 CodeMarvels
Powered by WordPress | Theme: Graphy by Themegraphy