Ankit Bhardwaj
BAN USERwhich packet you are talking about ,any way you can use wireshark to get the exact content of a packet .
- Ankit Bhardwaj March 04, 2014we start sending packet to the destination ,TTL starting with 1 ,so at first router TTL will be zero and packet will be dropped .But the router will send you an ICMP packet back which will tell you about the first router on the way.Like wise we will do this upto destination network.One more thing we will use a unused port no. ,which will be discarded at the destination and an ICMP packet willl be sent back.By doing this we can trace the route.
but there is no gurantee that it will fine exact route every time,because there are many paths to reach a destination on the internet.However probability of this is very low.
The main difference between the common Ping and Traceroute commands is that Ping is a quick and easy way to tell you if the destination server is online and estimates how long it takes to send ands receive data to the destination. Traceroute tells you the exact route you take to reach the server from your computer (ISP) and how long each hop takes.
- Ankit Bhardwaj March 04, 2014any how we are using int type man
so it will not be a problem
And it just an algo
and i think it will work fine
outputstr="";
if(number<26)
print number
else
while(number!=0)
{
x=number%26 //0 is A ,1 is B and so on
outputstr=outputstr+"x" //string append
number=number/26
}
from string to number:
example:
xyz
z*26^0+y*26^1+x*26^2
RepEllaWilliams, Analyst at A9
I am a perceptive systems analyst adept at designing innovative IT solutions and enhancing existing systems with new features. I ...
RepEarlEvans, Android Engineer at ASAPInfosystemsPvtLtd
EarlEvans a Material dispatching working at Lazysize . It's been almost 5 years since I started working here . Online istikhara ...
RepAileen Kate, HR Executive Trainee at Bankbazaar
Aileen , a game designer with 4+ years of experience in a creative yet deadline-driven environment. Eager to join The Rock ...
1) Take an array of 1000 elements and intialize each entry with 0.
- Ankit Bhardwaj November 22, 20142) Now for each birth do increment in that year and for each death decrement in that year.
3) Now the problem reduced to : Find max sum in an array, maintain sum as well as index and then add 1900 to that index to give the exact answer.
Complexity is O(n).