Hot Topics
Top 100 basic Coading for Interview Coading Round
Write a program to swap two numbers without using a temporary variable.
Implement a function to check if a given string is a palindrome.
Write a program to find the largest element in an array.
Implement a function to reverse a linked list.
Write a program to check if a given number is prime.
Implement a function to check if two strings are anagrams.
Write a program to calculate the factorial of a number.
Implement a function to remove duplicates from an array.
Write a program to find the sum of digits of a number.
Implement a function to count the occurrences of a character in a string.
Write a program to find the second largest element in an array.
Implement a function to check if a linked list has a cycle.
Write a program to check if a given year is a leap year.
Implement a function to merge two sorted arrays into a single sorted array.
Write a program to reverse a string.
Implement a function to check if a number is a power of two.
Write a program to find the maximum sum of a subarray in an array.
Implement a function to check if a binary tree is balanced.
Write a program to find the GCD (Greatest Common Divisor) of two numbers.
Implement a function to perform binary search in a sorted array.