What is complexity in java?



What is complexity in java?..

Answer / Mohd Irfan

Complexity in Java refers to the time and space complexity of an algorithm. Time complexity measures how long an algorithm takes to run as a function of the size of the input, while space complexity measures the amount of memory required by an algorithm.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Core Java Interview Questions

Can we force garbage collector to run ?

1 Answers   B-Ways TecnoSoft,


What is the default value of byte datatype in java?

1 Answers  


How many functional interfaces does java 8 have?

1 Answers  


How does hashset work in java?

1 Answers  


What is the purpose of garbage collection in java?

1 Answers  


What is the difference between yield() and sleep()?

1 Answers  


Which is the best sorting technique in java?

1 Answers  


What is singleton class?

16 Answers   3i Infotech, 7 Seas, ABC, Amdocs, Cap Gemini, Oracle, Persistent, TCS, Techforza,


State differences between C and Java?

1 Answers   Deloitte, JPMorgan Chase,


Why would you desing a J2EE application so user data is entered by way of a JSP page and managed by an underlying Java Beans class?

5 Answers   Adobe,


Can we sort a map in java?

1 Answers  


What is the mapping mechanism used by java to identify IDL language?

1 Answers  


Categories