0% found this document useful (0 votes)
3 views7 pages

Technical Python Questions

Rtrt

Uploaded by

aar55721
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)
3 views7 pages

Technical Python Questions

Rtrt

Uploaded by

aar55721
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

Department of Training and Placement

Career Competency Training


Fundamentals Of Python
Batch: 2023 – 2027 AY: 2026 - 2027

Set 1 – Math

1. Happy Number
2. Ugly Number
3. Add Digits
4. Count Primes
5. Nth Magical Number
6. Count Special Integers
7. Next Greater Element III
8. Prime Palindrome
9. Nth Digit
10. Reach a Number
11. Palindrome Number
12. Reverse Integer
13. Power of Three
14. Perfect Number
15. Armstrong Number
16. Factorial Trailing Zeroes
17. Self Dividing Numbers
18. Powerful Integers
19. Integer Break
20. Bulb Switcher
21. Power of Four
22. Sqrt(x)
23. Missing Number
24. Divisor Game
25. Smallest Even Multiple
26. Count Odds
27. Roman to Integer
28. Integer to Roman
29. Maximum 69 Number
30. Harshad Number
Set 2 - Patterns
1. Pattern 1- BOX
2. Pattern 2- Empty
3. Concentric Rectangle
4. Diagonal Pattern
5. Incremental Pattern
6. Pattern 6- Semi Pyramid
7. Pattern 7-Full Pyramid
8. Star Pattern
9. Hollow X Pattern
10. WELCOME Pattern

11. Diamond Pattern


12. Hollow Diamond
13. Pascal Triangle
14. Butterfly Pattern
15. Hourglass Pattern
16. Numeric Pyramid
17. Reverse Pyramid
18. Floyd Triangle
19. Alphabet Triangle
20. Sandglass Pattern
21. Rhombus Pattern
22. Hollow Square
23. Mirrored Pyramid
24. Number Crown
25. Binary Triangle
26. Spiral Matrix Pattern
27. Character Pyramid
28. Inverted Diamond
29. Cross Pattern
30. Arrow Pattern
Set 3 - Two Pointers
1. Two Sum II
2. Two Sum Less Than K
3. Create Maximum Number
4. Sum of Square Numbers
5. Sum of Squares of Special Elements
6. Sum of All Odd Length Subarrays
7. Valid Triangle Number
8. Boats to Save People
9. Sort Array By Parity
10. Squares of a Sorted Array

11. Container With Most Water


12. 3Sum
13. 3Sum Closest
14. 4Sum
15. Remove Duplicates from Sorted Array
16. Move Zeroes
17. Backspace String Compare
18. Partition Labels
19. Merge Strings Alternately
20. Reverse Vowels
21. Intersection of Two Arrays
22. Duplicate Zeros
23. Shortest Distance to Character
24. String Compression
25. Valid Palindrome II
26. Reverse String
27. Pair Sum in Sorted Array
28. Remove Element
29. Merge Sorted Arrays
30. Trapping Rain Water
Set 4 - Sliding Window
1. Defuse the Bomb
2. Find K Closest Elements
3. Alternating Groups I
4. Contains Duplicate II
5. Count Number of Nice Subarrays
6. Maximize the Confusion of an Exam
7. Binary Subarrays With Sum
8. Subarray Product Less Than K
9. Minimum Difference Between Highest and Lowest of K Scores
10. Find the K-Beauty of a Number

11. Longest Substring Without Repeating Characters


12. Maximum Average Subarray I
13. Permutation in String
14. Minimum Size Subarray Sum
15. Fruit Into Baskets
16. Longest Repeating Character Replacement
17. Grumpy Bookstore Owner
18. Maximum Erasure Value
19. Number of Substrings Containing All Three Characters
20. Diet Plan Performance
21. Minimum Recolors
22. Longest Ones
23. Frequency of Most Frequent Element
24. Sliding Window Maximum
25. Get Equal Substrings Within Budget
26. Maximum Vowels in a Substring
27. Repeated DNA Sequences
28. Minimum Window Substring
29. Longest Harmonious Subsequence
30. K Radius Subarray Averages
Set 5 - Hashing
1. Array Subset
2. Union & Intersection
3. Longest Consecutive Subsequence
4. Find Itinerary
5. Most Frequent Element
6. First Missing Positive
7. Set Matrix Zeroes
8. Majority Element
9. Majority Element II
10. Maximum Product Subarray

11. Two Sum


12. Group Anagrams
13. Valid Anagram
14. Contains Duplicate
15. Top K Frequent Elements
16. Happy Number Using Hash Set
17. Isomorphic Strings
18. Word Pattern
19. Find Duplicate File in System
20. Longest Substring Without Repeating Characters
21. Jewels and Stones
22. Find All Duplicates in an Array
23. Subarray Sum Equals K
24. Check If N and Its Double Exist
25. Unique Number of Occurrences
26. Ransom Note
27. Find the Difference
28. Intersection of Arrays II
29. Count Elements
30. Uncommon Words from Two Sentences
Set 6 - Sorting
1. Alternate Sort
2. Max-Min Rearrangement
3. Merge Sorted Array
4. Largest Number
5. Kth Largest Element
6. Wiggle Sort II
7. Third Maximum Number
8. Assign Cookies
9. Relative Ranks
10. Array Partition

11. Sort Colors


12. Merge Intervals
13. Meeting Rooms
14. Minimum Difference
15. Height Checker
16. Sort Array By Increasing Frequency
17. Rearrange Array Elements by Sign
18. Sort Even and Odd Indices
19. Minimum Absolute Difference
20. Rank Transform of an Array
21. Sort Characters by Frequency
22. Custom Sort String
23. Largest Perimeter Triangle
24. Minimum Moves to Equal Array Elements
25. Sort People
26. Queue Reconstruction by Height
27. Sort the Matrix Diagonally
28. Reduction Operations
29. Maximum Units on a Truck
30. Can Attend Meetings
Set 7 - Strings
1. Excel Column Title
2. Excel Column Number
3. Zigzag Conversion
4. Remove K Digits
5. Circular Sentence
6. Longest Common Prefix
7. Letter Combinations
8. First Occurrence in String
9. Count and Say
10. Multiply Strings

11. Valid Palindrome


12. Reverse Words in a String
13. Longest Palindromic Substring
14. Valid Parentheses
15. String to Integer (atoi)
16. Roman to Integer
17. Integer to Roman
18. Generate Parentheses
19. Group Anagrams
20. Palindrome Partitioning
21. Decode String
22. Simplify Path
23. Reverse String
24. Buddy Strings
25. Repeated Substring Pattern
26. Longest Palindrome
27. Goat Latin
28. Reverse Prefix of Word
29. Check If Two String Arrays are Equivalent
30. Find and Replace Pattern

You might also like