Question
Given a number 'N' and an array a[ ], find the number of possibilities of a[i]-a[j]=N such that i>j. (Could be solved in O( n ) using a HashMap).

Answers





Search
Can you Answer!!
  • Q What is the difference between static and dynamic testing?
  • Q What is rum distilled from?
  • Q What is "Per Call" instance mode in WCF?
  • Q Given an array, i) find the longest continuous increasing subsequence. ii) find the longest increasing subsequence.
  • Q what is somaclonal variation in tissue culture?
  • Q Which revolutionary was the author of 'Bandhi Jiwan'?
  • Q Which are the four most important biztalk databases?
  • Q How to produce soc7 abend?
  • Q Which of the following best describes “walk-through angina”?
  • Q When is the ‘National Science Day’ celebrated in India?
  • Q Physical Shares in Electronic form is?