Sort by

recency

|

196 Discussions

|

  • + 0 comments

    Scala: val lst: List[Int] = (1 to num).toList

  • + 0 comments

    An array of ( N ) elements is a data structure that holds a fixed-size sequential collection of elements of the same type. Lucky7 login

  • + 0 comments

    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)) }

  • + 0 comments

    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.

  • + 0 comments

    Haskell wins again fn n = [1..n]