Skip to content

Tag Archives: MAQ Software

Given a string S consisting of lowercase Latin Letters, the task is to find the first non-repeating character in S. Examples:  Input: “geeksforgeeks”Output: fExplanation: As… Read More
Given two values n1 and n2 in a Binary Search Tree, find the Lowest Common Ancestor (LCA). You may assume that both values exist in… Read More
Given a linked list, check if the linked list has a loop or not. The below diagram shows a linked list with a loop.  Linked… Read More
Given a string S, the task is to write a program to print all permutations of a given string.  A permutation also called an “arrangement… Read More
Given a Linked List and a number N, write a function that returns the value at the Nth node from the end of the Linked… Read More
Write a program to reverse the digits of an integer. Examples :   Input : num = 12345 Output: 54321 Input : num = 876 Output:… Read More

Start Your Coding Journey Now!