Scala process control

1. if else 1.1 single branch Syntax structure: if (expr) { expr by true Statement executed when } 1.2 double branch Syntax structure: if (expr) { expr by true Statement executed when } else { expr by false Statement executed when } 1.3 multi branch Syntax structure: if (expr1) { expr1 by true Statement executed when } ...

Added by famous58 on Fri, 03 Dec 2021 01:37:31 +0200

Time complexity and space complexity

Time complexity Concept of time complexity Definition of time complexity: in computer science, the time complexity of an algorithm is a function that quantitatively describes the running time of the algorithm. The time spent by an algorithm is directly proportional to the execution times of the statements in it. The execution times of ...

Added by echoninja on Mon, 29 Nov 2021 01:33:59 +0200