The document contains a series of programming questions related to string and array manipulation, linked list operations, and basic mathematical calculations. It covers topics such as reversing strings, checking for palindromes, counting digits, and sorting arrays. Additionally, it includes questions about linked lists and binary search algorithms.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
15 views1 page
Question
The document contains a series of programming questions related to string and array manipulation, linked list operations, and basic mathematical calculations. It covers topics such as reversing strings, checking for palindromes, counting digits, and sorting arrays. Additionally, it includes questions about linked lists and binary search algorithms.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 1
How do you reverse a string?
How do you determine if a string is a palindrome?
How do you calculate the number of numerical digits in a string? How do you find the count for the occurrence of a particular character in a string? How do you find the non-matching characters in a string? How do you find out if the two given strings are anagrams? How do you calculate the number of vowels and consonants in a string? How do you total all of the matching integer elements in an array? How do you reverse an array? How do you find the maximum element in an array? How do you sort an array of integers in ascending order? How do you print a Fibonacci sequence using recursion? How do you calculate the sum of two integers? How do you find the average of numbers in a list? How do you check if an integer is even or odd? How do you find the middle element of a linked list? How do you remove a loop in a linked list? How do you merge two sorted linked lists? How do you implement binary search to find an element in a sorted array? How do you print a binary tree in vertical order?