Coding Problems!-DSA Basics dated 24/03/2023

Hello Everyone!
Here I will attach the coding problems…
Please try and reply your answer.

  1. Problem: Given an array of integers, write a function to find the second largest number in the array.
  2. Problem: Reversing a string

Have a Happy Learning
Thanks & Regards
Teaching Assistant,
Dharshini M.

1 Like

Good Evening Mam

https://codepen.io/Manu368/pen/yLxGXbJ

1 Like

-------------->>>> Answer 1 <<<<----------------

-------------->>>> Answer 2 <<<<----------------

1 Like

@manohar.kota13 @sriv.ansh Thank you for your valuable responses! :grinning: :partying_face:
Your answers are correct!