0% found this document useful (0 votes)
44 views2 pages

AMCAT Coding Questions LeetCode

Uploaded by

Kaif Azmi
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
44 views2 pages

AMCAT Coding Questions LeetCode

Uploaded by

Kaif Azmi
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

AMCAT Coding Questions with LeetCode Links

Easy Level

No. Problem Description LeetCode Link LeetCode #

1 GCD and LCM of Two Numbers leetcode.com/problems/find-greatest-common-divisor-of-array/


1979

2 Check if a Number is Prime leetcode.com/problems/count-primes/ 204

3 Check if a Number is an Armstrong Number leetcode.com/problems/armstrong-number/ 2520

4 Check if a Number is a Palindrome leetcode.com/problems/palindrome-number/ 9

5 Calculate Factorial of a Number leetcode.com/problems/factorial-trailing-zeroes/ 172

6 Generate Fibonacci Series up to 'n' Terms leetcode.com/problems/fibonacci-number/ 509

7 Reverse a Given String leetcode.com/problems/reverse-string/ 344

8 Find Second Largest Element in an Array leetcode.com/problems/kth-largest-element-in-an-array/


215

9 Check if a Year is a Leap Year No direct LeetCode problem -

10 Convert Binary Number to Decimal No direct LeetCode problem -

Medium Level

No. Problem Description LeetCode Link LeetCode #

11 Print Specific Patterns Based on Input No direct LeetCode problem -

12 Convert Decimal Number to Octal No direct LeetCode problem -

13 Count Frequency of Characters in a String leetcode.com/problems/first-unique-character-in-a-string/


387

14 Remove Duplicate Elements from an Array leetcode.com/problems/remove-duplicates-from-sorted-array/


26

15 Implement Linear Search in an Array No direct LeetCode problem -

16 Sort an Array Using Bubble Sort No direct LeetCode problem -

17 Find Maximum Subarray Sum (Kadane's Algorithm)


leetcode.com/problems/maximum-subarray/ 53

18 Separate Even and Odd Numbers in an Array No direct LeetCode problem -

19 Compress a String leetcode.com/problems/string-compression/ 443

20 Print Palindromic Pattern Based on Input No direct LeetCode problem -


AMCAT Coding Questions with LeetCode Links

Hard Level

No. Problem Description LeetCode Link LeetCode #

21 Minimum Number of Fountains to Activate No direct LeetCode problem -

22 Remove Vowels from a Given String No direct LeetCode problem -

23 Find Missing Number in a Sequence leetcode.com/problems/missing-number/ 268

24 Rotate an Array by 'k' Positions leetcode.com/problems/rotate-array/ 189

25 Traverse a Matrix in Spiral Order leetcode.com/problems/spiral-matrix/ 54

26 Find Longest Common Subsequence leetcode.com/problems/longest-common-subsequence/1143

27 Find Longest Palindromic Substring leetcode.com/problems/longest-palindromic-substring/ 5

28 Check if Two Strings are Anagrams leetcode.com/problems/valid-anagram/ 242

29 Check for Balanced Parentheses leetcode.com/problems/valid-parentheses/ 20

30 Find N-th Fibonacci Number (DP) leetcode.com/problems/fibonacci-number/ 509

You might also like