Author: user

Aptitude – Boats and Streams

(1) A boat can travel with a speed of 20 km/hr in still water. If the speed of the stream…

Continue Reading Aptitude – Boats and Streams

Aptitude – Time and work

Aptitude – Time and work (1) A alone can do a piece of work in 6 days and B alone…

Continue Reading Aptitude – Time and work

Understanding Monorepo in GitLab: Integrating multiple projects into a unified repository

The concept of a “Monorepo” in GitLab, or in any version control system, refers to a developmental strategy where the…

Continue Reading Understanding Monorepo in GitLab: Integrating multiple projects into a unified repository
PySpark @ Freshers.in

Duplicating the contents of a string column a specified number of times

The repeat function in PySpark is used to duplicate the contents of a string column a specified number of times….

Continue Reading Duplicating the contents of a string column a specified number of times
PySpark @ Freshers.in

Extracting specific parts of a string that match a given regular expression pattern using PySpark

The regexp_extract function in PySpark is used for extracting specific parts of a string that match a given regular expression…

Continue Reading Extracting specific parts of a string that match a given regular expression pattern using PySpark
PySpark @ Freshers.in

PySpark : Replace parts of a string that match a regular expression pattern using regexp_replace

PySpark provides powerful string manipulation capabilities, a crucial aspect of which is regular expression replacement. This article delves into the…

Continue Reading PySpark : Replace parts of a string that match a regular expression pattern using regexp_replace

Aptitude-Partnership problems

(1) In a partnership, X invests Rs. 5000 for 9 months, Y invests Rs. 6000 for 6 months, and Z…

Continue Reading Aptitude-Partnership problems
Kotlin @ Freshers.in

Efficiently managing multiline strings in Kotlin

Multiline strings are a common necessity in programming, especially when dealing with large amounts of text or complex string formats….

Continue Reading Efficiently managing multiline strings in Kotlin
Shell Scripting @ Freshers.in

Reading from a file and creating it if it doesn’t exist using Shell script

We’ll delve into a common yet essential task in Shell Scripting: reading from a file and creating it if it…

Continue Reading Reading from a file and creating it if it doesn’t exist using Shell script
Shell Scripting @ Freshers.in

Add text to a file, creating the file if it doesn’t already exist in Shell script

Manipulating file content is a routine task in Shell Scripting. This article demonstrates how to add text to a file,…

Continue Reading Add text to a file, creating the file if it doesn’t already exist in Shell script