TARGETROOT
ToolsBlogPracticeInterview
  1. Home
  2. /Infosys
  3. /Coding Problems

Infosys Coding Problems

Practice Infosys coding problems with our interactive code editor. Write, run, and submit solutions.

Clear filter — show all problems

Showing 10 problems

Find the factorial of a number using recursion.

General Coding Problems|
infosystcs
Easy

Write a program to count the number of vowels and consonants in a given string.

General Coding Problems|
infosys
Easy

Write a program to check if a number is prime.

General Coding Problems|
infosys
Easy

Write a program to print a pyramid pattern of stars with n rows.

General Coding Problems|
infosyswipro
Easy

Write a program to find the second largest number in an array.

General Coding Problems|
infosys
Medium

Check whether two strings are anagrams of each other.

General Coding Problems|
infosys
Medium

Write a program to reverse an array without using extra space.

General Coding Problems|
infosys
Medium

Write a recursive function to compute the nth Fibonacci number.

General Coding Problems|
infosys
Medium

Write a program to find the first non-repeating character in a string.

General Coding Problems|
infosys
Medium

Write a program to merge two sorted arrays into one sorted array.

General Coding Problems|
infosys
Medium
TARGETROOT

Learning and practice platform built for focused growth. Start lean with tools, blog content, interview prep, and JSON-driven tests.

Platform

  • Tools
  • Blog
  • Practice
  • Interview

Learn

  • About
  • Contact

Legal

  • Privacy Policy
  • Terms of Service

Quick Access

  • JSON Formatter
  • Image Compressor
  • JSON to XLSX
  • QR Code Generator

© 2026 TARGETROOT. All rights reserved.

Made for focused learners worldwide