Basic DSA Questions
Basic DSA Questions
by:Coder_bhaiyaa
Basic Questions:-
2. Sorting an Array:-
Write a program to sort an array of integers using the bubble sort
algorithm.
3. Palindrome Check:-
Write a program to check if a given string is a palindrome.
4. Factorial Calculation:-
Write a program to calculate the factorial of a given number using
recursion.
5. Fibonacci Sequence:-
Write a program to generate the first n numbers in the Fibonacci
sequence.
6. Reverse a String:-
Write a program to reverse a given string.