Pergunta de entrevista da empresa Volmint Technologies

About the Algorithms in coding and logic's behind the programming we use . I would Like to share some question examples like Reverse a String: Write a function that reverses a given string in-place. Palindrome Check: Determine whether a given string is a palindrome (reads the same forwards and backwards). FizzBuzz: Print numbers from 1 to n, but for multiples of 3, print "Fizz," for multiples of 5, print "Buzz," and for multiples of both 3 and 5, print "FizzBuzz." Merge Sort: Implement the merge sort algorithm to sort an array of integers. Binary Search: Implement the binary search algorithm to find the index of a target element in a sorted array. Linked List Cycle Detection: Determine if a given linked list has a cycle and return the starting node of the cycle if present. Longest Substring Without Repeating Characters: Find the length of the longest substring without repeating characters in a given string. Maximum Subarray: Find the contiguous subarray within an array that has the largest sum. Find Missing Number: Given an array containing n distinct numbers taken from 0, 1, 2, ..., n, find the one that is missing from the array. Valid Parentheses: Given a string containing just the characters '(', ')', '{', '}', '[' and ']', determine if the input string is valid. Knapsack Problem: Given a set of items, each with a weight and a value, determine the maximum value that can be obtained by selecting a subset of the items that fit into a knapsack of limited capacity.