



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!




Department School of Engineering Technology Course Name: Competitive Coding-I Course Code L-T-P Credits 2 - 0 - 0 NIL Type of Course: Audit Course Prerequisite(s), if any: Fundamentals of programming Course Objective: To enhance students' problem-solving abilities in competitive coding by providing in-depth knowledge of core data structures, algorithms, and efficient coding techniques. This course aims to prepare students for technical assessments and coding interviews, building a strong foundation for tackling real-world coding challenges. Course Outcomes: ● Apply fundamental and advanced coding techniques to solve problems involving arrays, strings, recursion, matrices, and linked lists. ● Analyze and implement efficient data structure operations, including stacks, queues, and their real-world applications in competitive programming. ● Evaluate and optimize problem-solving approaches through comprehensive understanding and revision of key concepts from previous sessions. SESSION WISE DETAILS Session: 1 Introduction to problem solving Introduction to LeetCode and Codechef coding platforms, Overview of competitive programming, setting up environment, approach to problem solving Session: 2 Recursion No. of hours: 2 Content Summary: find factorial, find power of a number, (printing increasing, decreasing and Decreasing Increasing), count digit, sum of array using recursion
Session: 3 Recursion II No. of hours: 2
Content Summary: find pivot index, remove duplicates, fibonacci number, tower of hanoi with recursion tree presentation,
Session: 4 Array I No. of hours: 2 Content Summary: maximum subarray sum (Kadane’s Algorithm), maximum product subarray(based on Kandane’s), majority Element (moore’s voting algorithm)
Session: 5 Array II No. of hours: 2 Content Summary:Two sum , count elements with maximum frequency , left/right rotate an array by k positions.
Session: 6 Array III No. of hours: 2 Content Summary: Sort 0, 1 and 2(Dutch flag algorithm), container with most water, trapping rain water
Session: 7 Binary Search-I No. of hours: 2 Content Summary: lower bound , upper bound, koko eating bananas, first bad version
Session: 8 Binary Search-II Content Summary: Search in rotated sorted array, Search in rotated sorted array II, aggressive cows
Session: 9 Matrix Problems I No. of hours: 2 Content Summary: Spiral traversal, searching elements in a matrix, Printing elements in sorted order.
Session: 16 Stack Implementation No. of hours: 2 Content Summary: Stack Implementation using Array, Next Greater Element , PSE
Session: 17 Stack I No. of hours: 2 Content Summary: Smaller element on left, valid parentheses, Evaluate postfix expression
Session: 18 Stack II No. of hours: 2 Content Summary: min stack, asteroid collision, stock span problem
Session : 19 Queue Introduction. No. of hours: 2 Content Summary: Queue implementation using array, Implement circular queue, queue using stack , stack using queue
Session :20 Summary Content Summary: Revising the completed topics and company specific problems on given topics. Evaluation Criteria Criteria Internal (50 marks) After 2 weeks Coding Test No. of tests: 6 Marks per test: 5 Total marks: 30 Mid Term Coding Test 20 Marks
External ( marks) End Term Paper