Skip to content
Latest Posts:
Creating test data using Python
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

Clear ur Doubt

  • Home
  • Technologies
    • Scala
    • Java
    • Hadoop
    • Apache Spark
    • C
  • Tips & Tricks
    • Unix
    • Java 8
  • Projects
    • Python
      • Simple ETL Pipeline
  • 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

  • Creating test data using Python
  • 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

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
June 2025
S M T W T F S
1234567
891011121314
15161718192021
22232425262728
2930  
« Aug    
Copyright © All rights reserved.
University Hub by WEN Themes
Scroll Up