We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
Array Of N Elements
Array Of N Elements
Sort by
recency
|
195 Discussions
|
Please Login in order to post a comment
An array of ( N ) elements is a data structure that holds a fixed-size sequential collection of elements of the same type. Lucky7 login
object Solution extends App {
import scala.io._
val readInt = StdIn.readInt()
def f(num:Int) : List[Int] = {
val list = List.range(0,num)
return list
} println(f(readInt)) }
Weld neck flanges, also known as welding neck flanges, are an important part of various industries, providing a strong connection between pipes, valves, and equipment. These specialized flanges have unique features that make them useful in challenging situations. Let’s explore different aspects of weld neck flanges, including their types, uses, materials, dimensions, and standards.
Haskell wins again fn n = [1..n]
implementation using Common Lisp
(defun f(n) (if(> n 1) (list n (f(- n 1))) ) )