You are not logged in. Please login at to post your questions!


regarding O(t*n) soln of Area51 problem on hackerearth

Guys please explain that how could t*n soln can pass where the constraints of n is <=10^9 and t<=50 and secondly how is it possible to calculate factorial of such a huge number like 10^9. This is practically not possible. Please help! Que Link:- My Soln Link:-

asked 31 Jan '18, 02:49

kunal12's gravatar image

accept rate: 0%

toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported
  • mathemetical formulas in Latex between $ symbol

Question tags:


question asked: 31 Jan '18, 02:49

question was seen: 252 times

last updated: 31 Jan '18, 02:49