CodeChef Logo CodeChef Logo
Courses

Programming and DSA

Learn to think like a programmer. Develop your problem-solving skills with essential data structures and algorithms.

Career Paths

From beginner to job-ready. Explore our curated career paths designed to help you succeed in the tech industry.

Other Courses

Programming and DSA

Explore courses

Catalogue

Programming and DSA

Learn to think like a programmer. Develop your problem-solving skills with essential data structures and algorithms.

Career Paths

From beginner to job-ready. Explore our curated career paths designed to help you succeed in the tech industry.

Other Courses

Explore courses
Practice Compete Compiler
Upgrade to Pro
Courses

Programming and DSA

Learn to think like a programmer. Develop your problem-solving skills with essential data structures and algorithms.

Career Paths

From beginner to job-ready. Explore our curated career paths designed to help you succeed in the tech industry.

Other Courses

Programming and DSA

Explore courses

Catalogue

Programming and DSA

Learn to think like a programmer. Develop your problem-solving skills with essential data structures and algorithms.

Career Paths

From beginner to job-ready. Explore our curated career paths designed to help you succeed in the tech industry.

Other Courses

Explore courses
Practice Compete Compiler
Home » Ankit agarwal
user profile

Ankit agarwal

  • 3★light123
  •   India
  • Student
  • National Institute of Technology, Kurukshetra Thanesar, Haryana, India
  • No Active Plan. View Details

Submissions Heat Map

Rating Graph

No. of Contests Participated: 141
1680 (-29)RatingProvisional
Rating i Provisional Rating, click to know more
Starters 195 (Rated)(2025-07-16 22:00:02)
Global Rank:   1178
Cheated in:   

Ratings System Update

(2025-07-16 22:00:02)
This is the difference due to changing the rating system.This graph is not updated after 20th Dec 2022. Know more
How the rating system works?
1849 (+13)RatingProvisional
Rating i Provisional Rating, click to know more
Starters 68 Division 2 (Rated)(2022-12-20 00:00:00)
Global Rank:   114
Cheated in:   

Ratings System Update

(2022-12-20 00:00:00)
This is the difference due to changing the rating system.This graph is not updated after 20th Dec 2022. Know more
How the rating system works?

Learning Paths (0)

Practice Paths (2)

learn-icon

Data Structures Interview Questions

13%
learn-icon

Practice for ZCO and INOI

15%

Contests (141)

March Challenge 2016

Palindromic substrings, maximize the sum, Chef And Special Dishes

April Challenge 2016

Help Watson Escape, Chef and Ballons, Chef And Magical Path, Chef And Coloring

June Challenge 2016

Chef And The Hiring Event, Chef and Array and K, Chef And Binary Operation, Chef and Coins Game, Devu and an Array

July Challenge 2016

Andrash and Stipendium, Chefland and Electricity

August Challenge 2016

Chef and Chocolate

September Challenge 2016

Chef and Friends, Dividing Machine, Chef and digits of a number, Faded Palindromes, Chef and calculation

October Challenge 2016

Chef and Keyboard, Chef and Three Dogs

November Challenge 2016

Count Permutations, Chef and squares, Task for Alexey

December Challenge 2016

Train Partner

March Cook-Off 2016

Digital clock

June Cook-Off 2016

Sticks

October Cook-Off 2016

Watson asks Does Permutation Exist, ChefWatson uses Social Network

May Lunchtime 2016

Akhil And Colored Balls, Akhil And Random String

June Lunchtime 2016

Collisions

July Lunchtime 2016

Drumpf for President!

August Lunchtime 2016

Studying Alphabet

September Lunchtime 2016

Chef and Inequality

November Lunchtime 2016

Chef and his Students

January Challenge 2017

Capital Movement, Cats and Dogs

February Challenge 2017

Chef and Triangles, Chef and His Apartment Dues

March Challenge 2017

Xenny and Alternating Tasks, Bear and Extra Number, Bandwidth of a matrix

January Lunchtime 2017

Nothing in Common

April Challenge 2017

(CH) Serejs and Billiards, Chef and Divisor Tree, Stable market, Dish Of Life, Bear and Row 01, Bear and Clique Distances, Similar Dishes

May Challenge 2017

Chef and Sub Array , Chef and his daily routine, Courses in an university, Median of adjacent maximum numbers

June Challenge 2017

A Good Set, Chef and the Feast, Xenny and Coin Rankings, Triplets, Pairwise union of sets

July Challenge 2017

Chef and Sign Sequences, Tree Expectancy, Whats in the Name, Calculator , IPC Trainers

August Long Challenge 2017

Chef and Rainbow Array, Palindromic Game, Greedy Candidates

September Challenge 2017

Sereja and Commands, Chef and Pick Digit, Minimum Good Permutation, Fill The Matrix, Little Chef and Sums

November Challenge 2017

Chef goes Left Right Left, Periodic Palindrome Construction, Villages and Tribes

December Challenge 2017

Total Diamonds, Chef And his Cake, Penalty Shoot-out, Chef and Hamming Distance of arrays

May Cook-Off 2017

La Liga

June Cook-Off 2017

Ada and crayons

July Cook-Off 2017

Chang and Bitwise OR, Chang and the Perfect Function

August Cook-Off 2017

Matrix and Chef, Real obtuse, From heaven to earth

September Cook-Off 2017

Statistics Construction, Subsequence Equality

November Cook-Off 2017

Skiing, Online Chess, Random Pair

May Lunchtime 2017

Prefix Inversions

June Lunchtime 2017

Maximum Unique Segment, Two Numbers

July Lunchtime 2017

Find the Maximum Value

January Challenge 2018

K-Concatenation, Maximum Score, Rectangle, String Merging, Partition the numbers

February Challenge 2018

Broken Clock, Chef And His Characters, Chef And The Patents, Points Inside A Polygon, Car-pal Tunnel, Permutation and Palindrome

May Challenge 2018 Division 1

Dibs on Fibs

September Challenge 2018 Division 2

Magician versus Chef, Chef and Adventures

October Challenge 2019 Division 2

Even Edges, Chef and Maximum Star Value, Array Modification, Phone Prices

April Challenge 2020 Division 2

Strange Number, Squared Subsequences, Unit GCD, Sell All the Cars, Leaked Answers (Challenge), COVID Pandemic and Long Queue

April Cook-Off 2020 Division 2

Matrix Decomposition, Lift Requests

April Lunchtime 2020 Division 2

Another Birthday Present!, Chef in Fantasy League

July Challenge 2020 Division 2

Chefina and Swaps, Missing a Point

August Challenge 2020 Division 2

Chef Wars - Return of the Jedi, Another Card Game Problem, Chef and Linear Chess, Smallest KMP

September Challenge 2020 Division 2

A Problem on Sticks, Ada Matrix

July Cook-Off 2020 Division 2

Even-tual Reduction

January Lunchtime 2021 Division 3 (Unrated)

Ashishgup and Interviews, Pair Me, Even Differences

April Lunchtime 2021 Division 3

Chef in Heaven , Bench Press, Equinox Strings, Array Rotation, Coldplay

May Cook-Off 2021 Division 2

The Last Problem, Chef and Subarrays

May Lunchtime 2021 Division 2

Charges, Tom And Jerry 1, Total Components

June Lunchtime 2021 Division 2

False Number, Unpleasant Ones

July Challenge 2021 Division 2 (Unrated)

Chef vs Bharat

July Cook-Off 2021 Division 2

XOR-ORED

August Challenge 2021 Division 2 (Unrated)

Special Triplets, Array Filling, Chef and Bulb Invention, Charge Scheduling, Problem Difficulties, Olympics Ranking

August Lunchtime 2021 Division 2

K-th Maximum, Crossing Blocks, Just a Graph

November Challenge 2021 Division 2 (Unrated)

Weird Palindrome Making, Hill Sequence, Equal Coins, Maximise the bridges

CodeChef Starters 18 Division 2 (Unrated)

Palindromic Binary Numbers, Compare those strings, Make them equal

November Lunchtime 2021 Division 2

Expected Weight

December Challenge 2021 Division 2 (Unrated)

Valleys and Hills, List of Lists

February Lunchtime 2022 Division 2

Four Equidistant Points on a Grid, Parallel Processing, Magnet Sort

March Long One 2022, Division 2 (Unrated)

Akash and Function, Subarray XOR, Substring of a Substring, Exact Marks, MEX on Trees

CodeChef Starters 29 Division 2 (Rated)

String protocol, Plusle and Minun on Array, Decomposition Reaction

March Long Two 2022, Division 2 (Unrated)

Missing Numbers

CodeChef Starters 31 Division 2 (Rated)

XOR and AND, Alternating String, Sign Moves, The Unchanging OR

March Lunchtime 2022 Division 2

Sad Splits, Adjacency Love

April Lunchtime 2022 Division 2(Rated)

Buckets Full of Candies, Pair Pain

Starters 36 Division 2 (Rated)

Presents for Cheffina

April Long Two 2022 Division 2 (Unrated)

Pseudo Sorted Array

May Cook-Off 2022 Division 2 (Rated)

Doubled Distances, Triple Inversions

Starters 37 Division 2 (Rated)

Beat the Average, Infernos, Maximum OR Minimum, Too Mean

May Long One 2022 Division 2 (Unrated)

The Magical Stone

May Lunchtime 2022 Division 2 (Rated)

Bucket and Water Flow

Starters 41 Division 2 (Rated)

Equal Integers, Is this priority or parity!, Path Parity

June Cook-Off 2022 Division 2 (Rated)

Simple XOR, Break the Stick

Starters 42 Division 2 (Rated)

Minimum or Maximum, Divisible by 3

Starters 53 Division 3 (Rated)

Odd Pairs, Make A and B equal, Weights

Starters 62 Division 3 (Rated)

Sorted Substrings, Make Multiple, Final Sum, X Jumps, Test Score

Starters 64 Division 3 (Rated)

Mario and the Broken String, Luigi and Uniformity, Range Assign, Number of Distinct Elements Minimize, Prime Factor Division, Distinct Neighbours , Distinct Colors

Starters 65 Division 2 (Rated)

Nahaane Jaa, Candies, Binod, Potato to Gold

November Long 2022 Division 2 (Unrated)

MaxEdges, Split and Maximize, Spliting Balls

Starters 66 Division 2 (Rated)

Good Binary Strings, Palindrome by Splitting, Connect All Cities, Just Like Mob!

Starters 68 Division 2 (Rated)

Boring String, XOR Product, Expense List, Interesting Array, Make Money

Starters 70 Division 2 (Rated)

Minimum distance between 1s, Prime Reversal, Frequency Array Retrieval

December Long 2022 Division 2 (Unrated)

Divisible by A_i, Gcd of Subarrays, Maximise XOR

Starters 72 Division 2 (Rated)

N Triplets, No sequence

Starters 73 Division 2 (Rated)

Find an integer, Consecutive Xor, Append for OR

Starters 74 Division 2 (Rated)

Maximum Xor Sum, Lcm hates Gcd, Odd Even Binary String

Starters 75 Division 2 (Rated)

Equal Hamming Distance, Prefix Ones, Three Powers of Two

January Long 2023 Division 2 (Unrated)

A Short Counting Problem, Asymmetric Swaps, Minimize the Maximum, Array Halves

Starters 76 Division 2 (Rated)

Make Array Odd, Zero String, Expected Value, Construct Array, Not Divisible

February Cook-Off 2023 Division 2 (Rated)

Take Not Less, Alice Potter And Dumbledore Army, Permutation and Modulus

Starters 78 Division 2 (Rated)

Valid Expression

Starters 79 Division 2 (Rated)

One Stone or Two Stones, Add smallest prime factor, Distinct Opposite Sums

Starters 80 Division 2 (Rated)

Permutation Subsequence, Prefix Permutation, Equal Elements

Starters 81 Division 2 (Unrated)

Good XOR, Distinct Matrix, Divide Pages, Arrange the array

Starters 82 Division 2 (Rated)

Find eX, Make A-B Same, MIN To MAX

Starters 84 Division 2 (Rated)

Max count of 1, Max Binary, Chef And Adjacent Sums

Starters 87 Division 2 (Rated)

Existence, AB plus C

Starters 83 Division 2 (Rated)

Construct String, Order by XOR

Starters 88 Division 2 (Rated)

Maximum And Or, Chef and Asteroids, Unstable Subarray

Starters 89 Division 2 (Rated)

Plus 2 or Minus 1, Positive or Negative Subarrays, Subarray Removal

Starters 90 Division 2 (Rated)

Printing Binary Array, Anti Palindrome

Starters 92 Division 2 (Rated)

Rectangular Tiling, Beautification of array, Distance Coloring, Dotify Playlist

Starters 93 Division 2 (Rated)

Break Free, Thank U, Next, NASA, Problem

Starters 94 Division 2 (Rated)

CodeChef Streak, Possible or Not, Search for 404, The Vowel Matrix

Starters 95 Division 2 (Rated)

Boxes, Transfusion Chain, EVacuate to Moon

Starters 96 Division 2 (Rated)

Swap the numbers, Remove Multiples

Starters 97 Division 2 (Rated)

Schrodinger Smiley, Triplets Min

Starters 98 Division 2 (Rated)

Airport Management, Ball Distribution

Starters 99 Division 2 (Rated)

Segment Three, Two Piles, Card Swipe, Exclusion-Inclusion

Starters 100 Division 2 (Rated)

Stamps 100

Starters 101 Division 2 (Rated)

Minimize Xor Difference, Warrior Chef, Lockpicking Chef

Starters 104 Division 2 (Rated)

Maximise Sum, GCD and LCM

Starters 105 Division 2 (Rated)

Take it Easy, Spooky Sequences, Dull Operation

Starters 107 Division 2 (Rated)

Rock Paper Scissor, OR Permutation

September Short 2023 Division 2 (Unrated)

Lucky Seven, Slow Start, Mixing Extraordinaire

Starters 111 Division 2 (Rated)

Prefixing, Beautiful Strings, Reach Codetown

Starters 112 Division 2 (Rated)

Max Nutrition

Starters 113 Division 2 (Rated)

Minimise Maximum Subarray Sum, Make All Equal, Score Sum, Maximum Score , Sum Neq

Starters 115 Division 2 (Rated)

A PLUS B Remastered, Decorating Christmas Tree

Starters 116 Division 2 (Rated)

ORST , Access Control

Starters 117 Division 2 (Rated)

Not Prime Permutation, Spell Shortening

Starters 118 Division 2 (Rated)

Subset GCD, Join States, Xorry 2, Xorry 1

Starters 119 Division 2 (Rated)

Cookie Day, Another Good String , K Odd Sum

Starters 120 Division 2 (Rated)

Count Subarrays, Count Arrays, Sub or Swp

Starters 124 Division 2 (Rated)

Binary Parity, Table Strength, How many arrays

Starters 138 Division 2 (Rated)

TRIPLE PRIMES, Long Drive, Distinct Substring

Starters 139 Division 2 (Rated)

Sum of N, Maximum Distance Permutations

Starters 140 Division 2 (Rated)

Make Permutation, Split Permutation, Trick Or Treat

Starters 146 Division 2 (Rated till 5 stars)

Bouncing Ball, Permutation Construction, Knockout tournament

Starters 147 Division 2 (Rated till 5 stars)

K Subsequence 101, Truth Teller And Liars 101, Independence Day 101, Non-Primes 101, Gold Coins 101

Starters 149 (Rated)

Easy Subarray Sum, Maximise Sum

Starters 150 (Rated)

Equal Pairs (Hard), Replacing Game, Find Multiset State, Equal Pairs (Easy)

Starters 152 (Rated)

Maximize Hamming Distance, Anti-Palindrome Queries, Range Minimize

Starters 153 (Rated)

Butterfly, Another Game, Colorful Tree (Easy Version)

Starters 156 (Rated)

Partition Score, Even Numbers Hate

Starters 158 (Rated)

Largest Subsequence, XOR Smaller, Multiply 2 to Minimize

Starters 159 (Rated)

Super Hero, Random Nim, Elections

Starters 161 (Rated)

Red-Blue Sort, Two Cards

Starters 162 (Rated)

Adjacent Sum Array, Permutation Mod K

Starters 170 (Rated)

Monster Monster

Starters 172 (Rated)

Transform String, Streak Star

Starters 173 (Rated upto < 2700)

Cool Subsequences, Time Penalty, Overwrite

Starters 178 (Rated)

Big Difference, Placing 01 And 10

Starters 179 (Rated)

Lost in the Fest!!

Starters 184 (Rated)

One Down, Front or Back

Starters 195 (Rated)

Marble Collector

Total Problems Solved: 676

1680
(Div 2)
★★★
CodeChef Rating (Highest Rating 1973)
  • 9561 Global Rank
  • 8486 Country Rank

Badges

Contest Contender -  Diamond Badge

Contest Contender - Diamond Badge

Received for participating in 100 Contests

Problem Solver - Gold Badge

Problem Solver - Gold Badge

Received for solving 500 Problems

Daily Streak - Bronze Badge

Daily Streak - Bronze Badge

Received for maintaining a streak of 5 days

Recent Activity

Fetching recent activity

Bizzhub Workspaces, 6th Floor, MSR North Tower, Outer Ring Rd, Manayata Tech Park, Nagavara, Bengaluru, Karnataka 560045 help@codechef.com +91 95911 47880
Find us online

ROADMAPS

Learn Python
Learn Java
Learn C
Learn C++
Data structures and Algorithms
Competitive Programming
More Roadmaps

CAREER PATHS

React JS Developer
Full stack Developer
SQL for Data Analysis
Frontend Developer
Java Backend Developer
Data Analysis using Python
Python Backend Developer
C++ Developer
Machine Learning using Python

COMPILERS

HTML online compiler
C++ online compiler
C online compiler
Java online compiler
Python online compiler
SQL online compiler
JavaScript online compiler
React online compiler
More compilers

COMPANY

About us
For colleges
Coding Contests
Blogs
Hire from us
Contact us
Privacy Policy
Frequently Asked Questions

© 2026 CodeChef Inc. All rights reserved.

We use cookies to improve your experience and for analytical purposes. Read our Privacy Policy and Terms to know more. You consent to our cookies if you continue to use our website.