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
N-th Tribonacci Number in Java - Dynamic Programming | AskTheCode
N-th Tribonacci Number Leetcode Dynamic Programming... solution in java... AskTheCode
Team ATC
Jan 30, 20221 min read
7 views
0 comments
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...
Team ATC
Jul 30, 20213 min read
51 views
0 comments
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...
Team ATC
Jul 24, 20212 min read
58 views
0 comments
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...
Team ATC
Jul 18, 20214 min read
74 views
0 comments
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
Team ATC
Jul 10, 20212 min read
85 views
0 comments
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
Team ATC
Jul 10, 20213 min read
95 views
0 comments
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 ...
Team ATC
Jul 6, 20211 min read
91 views
0 comments
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 ...
Team ATC
Jul 2, 20212 min read
2,010 views
1 comment
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...
Team ATC
Jul 2, 20212 min read
736 views
0 comments
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 ...
Team ATC
Jul 1, 20212 min read
30 views
0 comments
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.
Team ATC
Jun 20, 20212 min read
187 views
0 comments
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.
Team ATC
Jun 20, 20212 min read
108 views
0 comments
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...
Team ATC
Jun 20, 20212 min read
124 views
0 comments
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
Team ATC
Jun 19, 20212 min read
93 views
0 comments
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...
Team ATC
Jun 12, 20213 min read
379 views
0 comments
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
Team ATC
Jun 8, 20213 min read
831 views
2 comments
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
Team ATC
Jun 8, 20212 min read
917 views
0 comments
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
Team ATC
Jun 6, 20212 min read
1,186 views
1 comment
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...
Team ATC
Jun 6, 20212 min read
292 views
0 comments
Count Number Of Vowels In A String - Java | AskTheCode
Java program to count how many vowels have been used in a user given String.
Team ATC
May 28, 20213 min read
88 views
0 comments
bottom of page