top of page
Coding Solutions is a great section for every coder. You can get answers to your programming questions here by the Team ATC. You can even ask for the answer to competitive programming language questions as well. First, search your question here, and if not found. Then, ask your question to Ask The Code members, and you will get your answer in no time from the members of this Indian Developer Community. Happy Coding.
Search
Team ATC
Jan 30, 20221 min read
N-th Tribonacci Number in Java - Dynamic Programming | AskTheCode
N-th Tribonacci Number Leetcode Dynamic Programming... solution in java... AskTheCode
7 views0 comments
Team ATC
Jul 30, 20213 min read
Fizz Buzz questions - Java | AskTheCode
There is a variety of FizzBuzz java questions of a different variety and are generally asked in the Java SD interview...FizzBuzz code...
50 views0 comments
Team ATC
Jul 24, 20212 min read
OOP example in Java - Java Programming Solution | AskTheCode
Create a new file called Account.java and construct a class called Account, which models a simple bank account. It contains the following...
58 views0 comments
Team ATC
Jul 18, 20214 min read
Create a Date.java file - OOPs Example in Java | AskTheCode
Create a new file called Date.java and construct a Date class that models a calendar date with day, month, and year...
74 views0 comments
Team ATC
Jul 10, 20212 min read
Rambo has Math fear - solution in Java | AskTheCode
Convert the following algebraic expression into Java code: I. m = (a+b+c+d+e)/5 II. y = mx+b^2 III. y = ax^2+bx+c ... more
85 views0 comments
Team ATC
Jul 10, 20213 min read
Organizing a travel agency for multiple trips | Ask The Code
A travel agency organizes a client's travel itinerary. Each itinerary is composed of multiple trips. A trip has a fixed distance...more
95 views0 comments
Team ATC
Jul 6, 20211 min read
Square to the Next Level - We've already tried printing out the squares of the values, right?
We've already tried printing out the squares of the values, right? But today, we shall overwrite the original values for every iteration ...
91 views0 comments
Team ATC
Jul 2, 20212 min read
Chef vs Bharat - CodeChef July Long Challenge solution in Python | AskTheCode
Chef and his friend Bharat have decided to play the game "The Chefora Spell". In the game, a positive integer N (in decimal system) is ...
2,010 views1 comment
Team ATC
Jul 2, 20212 min read
Optimal Denomination - Codechef Solution in Java | AskTheCode
You are the owner of a big company. You are so rich, that the government has allowed you to print as many notes as you want of any single...
736 views0 comments
Team ATC
Jul 1, 20212 min read
Implementation of Getter and Setter in Java - AskTheCode
Get and Set methods, generally known as getters and setters in Java, are the methods used to get and set a value of a protected variable ...
30 views0 comments
Team ATC
Jun 20, 20212 min read
Binary String on Steroids Codechef Solution in Java| AskTheCode
A circular binary string is called good if it contains at least one character '1' and there is an integer d such that for each character 1.
187 views0 comments
Team ATC
Jun 20, 20212 min read
ICPC Balloons Codechef Solution in Java - AskTheCode
Chef is participating in an ICPC regional contest, in which there is a total of N problems (numbered 1 through N) with varying difficulties.
108 views0 comments
Team ATC
Jun 20, 20212 min read
Chefland Visa Codechef Solution - AskTheCode
Ash is trying to get visa to Chefland. For the visa to be approved, he needs to satisfy the following three criteria: Solve at least x1...
124 views0 comments
Team ATC
Jun 19, 20212 min read
Birthday Cake Candles - HackerRank Problem Solving Solution | AskTheCode
You are in charge of the cake for a child's birthday. You have decided the cake will have one candle for each year of their total age...more
93 views0 comments
Team ATC
Jun 12, 20213 min read
Minimum Dual Area Codechef Solution | AskTheCode
Given N points in a 2D space,find the minimum sum of areas of rectangles required to cover all the points given that we can use at most 2...
379 views0 comments
Team ATC
Jun 8, 20213 min read
Shortest Route Codechef Solution | AskTheCode
There are N cities in Chefland numbered from 1 to N and every city has a railway station. Some cities have a train and each city... more
824 views2 comments
Team ATC
Jun 8, 20212 min read
Bitwise Tuples - Codechef Solution -| AskTheCode
Chef has two numbers N and M. Help Chef to find number of integer N-tuples (A1,A2,…,AN) such that 0≤A1,A2,…,AN≤2M−1 and A1&A2&…&AN=0... more
917 views0 comments
Team ATC
Jun 6, 20212 min read
Bella ciao - Codechef Solution | AskTheCode
Chef is planning a heist in the reserve bank of Chefland. They are planning to hijack the bank for D days and print the money...more
1,186 views1 comment
Team ATC
Jun 6, 20212 min read
Summer Heat Codechef Solution in C++ and Java - AskTheCode
Chefland has 2 different types of coconut, type A and type B. Type A contains only xa milliliters of coconut water and type B contains...
292 views0 comments
Team ATC
May 28, 20213 min read
Count Number Of Vowels In A String - Java | AskTheCode
Java program to count how many vowels have been used in a user given String.
88 views0 comments
bottom of page