2 849
订阅者
-424 小时
-147 天
-4630 天
帖子存档
Sum of Cube code in java
Telegram👇👇👇
@codingsolution_group
@codingsolution_group
@codingsolution_group
03 3月 2022, 09:45
Telegram👇👇👇
@codingsolution_group
@codingsolution_group
@codingsolution_group
Share Your Questions here👇👇
https://t.me/Exam_answer_group
https://t.me/Exam_answer_group
01 3月 2022, 23:01
public class GFG {
static final int MAX = 1000;
// finds the smallest number in arr[]
// that is repeated k times
static int findDuplicate(int arr[], int n, int k)
{
// Since arr[] has numbers in range from
// 1 to MAX
int res = MAX + 1;
for (int i = 0; i < n; i++) {
if (arr[i] > 0) {
// set count to 1 as number is
// present once
int count = 1;
for (int j = i + 1; j < n; j++)
if (arr[i] == arr[j])
count += 1;
// If frequency of number is equal
// to 'k'
if (count == k)
res = Math.min(res, arr[i]);
}
}
return res;
}
// Driver code
public static void main(String[] args)
{
int arr[] = { 2, 2, 1, 3, 1 };
int k = 2;
int n = arr.length;
System.out.println(findDuplicate(arr, n, k));
}
}
01 3月 2022, 23:00
awk 'BEGIN{FS=" ";IGNORECASE=1;s=0;c=0;}{
if ($3<25){
s = $3 + s
c += 1
}
}END{
if (c == 0) {
print "No record found."
}
else {
print "Total sum = "s;
}
}'
TCS IRA - Unix code
share this channel to your friends
Telegram👇👇👇
@codingsolution_group
@codingsolution_group
@codingsolution_group
Share Your Questions here👇👇
https://t.me/Exam_answer_group
https://t.me/Exam_answer_group
28 2月 2022, 09:17
class Ticket:
def init(self, passenger_name, source, destination):
self.counter = 0
self.__passenger_name = passenger_name
self.__source = source
self.__destination = destination
self.Counter = self.counter
self.counter += 1
def validate_source_destination(self):
all_destinations = ["Pune", "Mumbai", "Chennai", "Kolkata"]
if self.source == "Delhi" and self.destination in all_destinations:
return True
else:
return False
def generate_ticket(self):
if self.validate_source_destination() == True:
self.ticket_id=self.source[0]+self.destination[0]+"0"+str(self.Counter)
print("Ticket id will be: " + self.ticket_id)
else:
return False
def get_ticket_id(self):
return self.ticket_id
def get_passenger_name(self):
return self.__passenger_name
def get_source(self):
if self.__source == "Delhi":
return self.__source
else:
print("You have written invalid soure option")
return None
def get_destination(self):
all_destinations = ["Pune", "Mumbai", "Chennai", "Kolkata"]
if self.__destination in all_destinations:
return self.__destination
else:
return None
TCS IRA - Ticket code in python✅✅
✅share this channel to your friends
Telegram👇👇👇
https://t.me/codingsolution_group
https://t.me/codingsolution_group
https://t.me/codingsolution_group
28 2月 2022, 09:15
✅share this channel to your friends
Telegram- https://t.me/codingsolution_group
Telegram- https://t.me/codingsolution_group
Telegram- https://t.me/codingsolution_group
27 2月 2022, 02:32
Cab rental code in py
Guys share our channel ❤️
https://t.me/codingsolution_group
https://t.me/codingsolution_group
https://t.me/codingsolution_group
27 2月 2022, 02:10
Hey friends ❤️
Please promote and share our channel
👨💻👩💻Working on code
Share with your friend's Telegram group, whatapp group and College group✅✅✅
https://t.me/codingsolution_group
https://t.me/codingsolution_group
https://t.me/codingsolution_group
27 2月 2022, 01:59
Guys share our channel ❤️.
https://t.me/codingsolution_group
https://t.me/codingsolution_group
https://t.me/codingsolution_group
27 2月 2022, 01:52
TCS - Test of Knowledge ANSWER
1.double float
2.error
3. no output(c)
4. when break statement excutes
5. This is fun This is fun too
6, blocking statement
7, function cannot be reused
8, Tracking
9, postfix formA+(B*C)
10, 0.71
Today Tcs Answer Group - Telegram
https://t.me/codingsolution_group
https://t.me/codingsolution_group
https://t.me/codingsolution_group
27 2月 2022, 01:51
Tcs ans Reasoning:
1,D
2.B
3.58
4, 8462, 2468,68...
5, JT
6, Karan
7, only 3 follows
8,3
9,453
10, candidate shoud score atleast 70%
11, A
12. 2
13. 484
14 only 1 is strong - B
15 D
16 R
17 42153
18,bhy
19, C
20 no conclusion fol...
21, 1
22,857:63
23,mayank would pass
24,b
25,b
26,only 1 and 2
27,4,2,3,1,5
28,cousin
29,Both the Bracketter letter curser are correct
30,cousin
@codingsolution_group
@codingsolution_group
@codingsolution_group
27 2月 2022, 01:24
Today Tcs Answer Group - Telegram
https://t.me/codingsolution_group
https://t.me/codingsolution_group
https://t.me/codingsolution_group
Send Your Questions here👇👇 (discussion)
https://t.me/Exam_answer_group
https://t.me/Exam_answer_group
https://t.me/Exam_answer_group
27 2月 2022, 01:19
Tcs answer group - Telegram
https://t.me/codingsolution_group
https://t.me/codingsolution_group
https://t.me/codingsolution_group
Send Your Questions here👇👇 (discussion)
https://t.me/Exam_answer_group
https://t.me/Exam_answer_group
https://t.me/Exam_answer_group
27 2月 2022, 01:08
