Skip to content
  • Home
  • Technologies
    • Scala
    • Java
    • Hadoop
    • Apache Spark
    • C
  • Tips & Tricks
    • Unix
    • Java 8
  • Blog
  • About Us
Latest Posts:
How to replace multiple strings with their corresponding replacement strings in Scala
How to make the first character uppercase of each word of a List in Scala
How to separate even and odd numbers in a List of Integers in Scala

Clear ur Doubt

  • Home
  • Technologies
    • Scala
    • Java
    • Hadoop
    • Apache Spark
    • C
  • Tips & Tricks
    • Unix
    • Java 8
  • Blog
  • About Us
  • Home
  • Blog
  • sum of integers in a list

Tag: sum of integers in a list

Dec 11

How to find the sum of the elements of an Int List in Scala

Sai Gowtham BadvityLeave a commentScalafoldLeft, reduceLeft, Scala, sum of integers in a list

Hey there! Welcome to ClearUrDoubt.com. In this post, we will look at a Scala program to find the sum of the elements of an Int List. We can achieve this using foldLeft or reduceLeft methods. foldLeft() method accepts an initial Read more

Recent Posts

  • How to replace multiple strings with their corresponding replacement strings in Scala
  • How to make the first character uppercase of each word of a List in Scala
  • How to separate even and odd numbers in a List of Integers in Scala

Recent Comments

  • Sai Gowtham Badvity on Calculator program in Scala
  • Sai Aditya on Calculator program in Scala
  • pragadeeshwaran on How to add a new column and update its value based on the other column in the Dataframe in Spark
March 2023
S M T W T F S
 1234
567891011
12131415161718
19202122232425
262728293031  
« Feb    
Copyright © All rights reserved.
University Hub by WEN Themes