ME

Live Q&A

Closed
25 JUN
Admin (Host)12:01 amhiii
Admin (Host)05:27 pmCode with Cisco Solution Will be uploaded hereπŸ•Ί
Admin (Host)05:38 pmStay tuned Gyus 🎊
GU
Guest06:06 pmare you guys giving solution or what?
Admin (Host)06:06 pmYess
GU
Guest06:08 pmokk
Admin (Host)06:08 pmAll the best for Code with Cisco πŸ’«
Admin (Host)06:27 pmStarting Code With Cisco
Admin (Host)06:49 pmQ1 SOLn
Admin (Host)06:49 pm#include <bits/stdc++.h> using namespace std; #define vi vector<int> #define vvi vector<vi> #define vvvi vector<vvi> struct G { int fr, fc; int tr, tc; }; struct I { int r, c; vvi g; int sr, sc; int er, ec; vector<G> gt; int mt; }; int solve(const I &in) { int R = in.r; int C = in.c; int T = in.mt; vvvi dis( R, vvi( C, vi(T + 1, -1) ) ); queue<tuple<int,int,int>> q; dis[in.sr][in.sc][0] = 0; q.push({ in.sr, in.sc, 0 }); int dr[] = {-1,1,0,0}; int dc[] = {0,0,-1,1}; while (!q.empty()) { auto [r,c,t] = q.front(); q.pop(); if ( r == in.er && c == in.ec ) { return dis[r][c][t]; } for (int k = 0; k < 4; k++) { int nr = r + dr[k]; int nc = c + dc[k]; if ( nr >= 0 &&
GU
Guest07:07 pmwhat about mcqs
GU
Guest07:07 pmplease help
GU
Guest07:14 pmand please help for amazon ml on sunday
GU
Guest07:14 pmthank u so much
AN
Anonymous07:36 pmpls upload mcqs soln too
GU
Guest07:37 pmare u providing subjective qs soln?
GU
Guest08:12 pmgive q-2 proper solution
AN
Anonymous08:20 pmCode with Cisco - The test will be rescheduled again
Admin (Host)08:21 pmThe test will be rescheduled again
26 JUN
Admin (Host)11:37 pmReady for 6:30 ?
27 JUN
Admin (Host)04:29 pmHii, everyone πŸ‘‹
Admin (Host)04:29 pmCode with Cisco Solution Will be uploaded hereπŸ•Ί
Admin (Host)04:29 pmStay tuned Guys 🎊
Admin (Host)06:05 pmNeed MCQS Soln too?
GU
Guest06:11 pmYss, pls upload mcqs ans too
GU
Guest06:13 pmpls upload mcps too
AN
Anonymous06:22 pmWhen will the questions be uploaded?
Admin (Host)06:25 pmin 10 min
GU
Guest06:25 pmokk
AN
Anonymous06:28 pmSir are you god or something 😭
Admin (Host)06:31 pmPosting
GU
Guest06:41 pmMcq
GU
Guest06:42 pmPls goddddd
GU
Guest06:42 pmyeahh
AN
Anonymous06:43 pmBoth Solution Posted
GU
Guest06:46 pmare those solutions correct passed all test cases??
GU
Guest06:46 pmwhere are solutions , i cant see , its blank template there
GU
Guest06:47 pmsendinng in few min wait
GU
Guest06:48 pmokay okay, confusion becoz someone wrote both solutions posted
GU
Guest06:49 pmare the solutions written on editor?? are those the solutions?
GU
Guest06:50 pmplease tell if all test cases are passing or not
GU
Guest06:51 pmCheck 3rd and 4th question
GU
Guest06:52 pm3rd question --> fenwick tree
GU
Guest06:55 pmmcq?
Admin (Host)06:55 pmCheck 3rd Qs TC All Passed
AN
Anonymous06:56 pm4yh qs --> segment tree
GU
Guest06:59 pm4th final na ?
AN
Anonymous06:59 pm1. 4 > 1 > 2 > 5 > 3 2. The internal CA's root certificate is not trusted by all browsers/devices 3. Misconfigured subnet mask on one or both hosts 4. Establish a dedicated vendor access zone with jump hosts + MFA + time-based access + session monitoring 5. 2, 1, 3, 4, 5, 6 6. 2 7. 0.17% 8. CLK_PERIOD = 10 s; 6 D-FFs 9. 2 10. Power Supply Rejection Ratio (PSRR) 11. A = false, B = true, C = false, D = true 12. 6 13. (-∞, -2.523) βˆͺ (-1, 1.189) βˆͺ (4, ∞) 14. 3Β·4ⁿ + 4ⁿ 15. 98.76 16. 8.75 17. Options 1 and 2 18. 9 19. 60 ns 20. Options 1 and 4
GU
Guest07:02 pmsubjective?
GU
Guest07:03 pmwhich solutions are you talking about mcqs or coding questions
GU
Guest07:04 pmcoding questions
GU
Guest07:06 pmAre these questions frm todays cisco exam
GU
Guest07:06 pmquestion 3 working??
AN
Anonymous07:08 pmNew q ans
GU
Guest07:09 pmThnx bro πŸ‘ all both done βœ…
GU
Guest07:11 pm4th Done bhai thx πŸ™
GU
Guest07:11 pmPls be available for tmrw AMLSS
Admin (Host)07:14 pmokk, sure
AN
Anonymous07:16 pmcan anyone confirm Q3??
AN
Anonymous07:16 pmcan anyone confirm 3Q
GU
Guest07:22 pmyeah its working
GU
Guest07:30 pmcan anyone cofirm is Q4 working. i wrote it but only 11/25 cases passed
GU
Guest07:30 pm*Q2
GU
Guest07:34 pmDear, Check Attached TC Passed PHOTO for Q2
GU
Guest07:34 pmJust make sure to remove plag
GU
Guest07:35 pmis the Train Reservation Reroute Auditor. question really woirking ,
GU
Guest07:39 pm42
GU
Guest07:39 pmConfidence Score is calculated based on several factors: The number of comparisons involving the team. How consistent the team's wins and losses are. The level of agreement among judges. Whether the comparison graph contains conflicting cycles. > A team may achieve a high raw score but still have a low confidence score if it has participated in only a few comparisons, received inconsistent judgments, or is part of a conflicting comparison cycle.
GU
Guest07:44 pmboth codes are running succesfully
GU
Guest07:44 pmcan someone give solution for train reservation problem?
GU
Guest07:45 pmsend subjective answers admin
Admin (Host)07:46 pmCheck 3rd Qs
Admin (Host)07:46 pmUploaded MCQS
AN
Anonymous08:00 pmYes
Admin (Host)08:05 pm33- Waste-slot count-size full-flag costs capacity counter memory flag overhead respectively.
Admin (Host)08:08 pm35 - Revoke exposed secrets, rotate credentials, replace shared SSH keys, audit access immediately.
GU
Guest08:21 pmBro pls help tmrw also πŸ™
GU
Guest08:32 pmamazon ml please tmrw
GU
Guest08:34 pmwho solves codeforces solution b
GU
Guest09:10 pmHint For CF B - For first one is all bits are ones when we repersent nums in pow of 2 ans subtract 1 from it ie 3 7 15 all are maximum pop count
28 JUN
GU
Guest11:45 amHeyy bro are u helping Today also?
11 JUL
Admin (Host)12:05 amHi everyone! If anyone needs help with today's OA at 7:00 PM, feel free to chat here
Admin (Host)12:06 amI'll be there to help you guys.
GU
Guest12:08 amYss pls Help us
GU
Guest12:08 amLike u helped us in hackon too
Admin (Host)12:11 amJoin our telegram channel
Admin (Host)12:11 amhttps://t.me/coder_cd_e_PAST_OA
Admin (Host)12:12 amAfter reaching 700+ members will upload soultion for your at 7 PM
GU
Guest12:27 amwhere is MCQ question ? there are only answer
GU
Guest12:35 amyss bro pls help
Admin (Host)12:35 amWait I will add MCQS too
Admin (Host)12:38 amHey pls check our telegram group (above link), just uploaded MCQs too
Admin (Host)12:51 amSubjective Questions Uploaded
GU
Guest12:59 amHey how can we view the solns tho we have to video record too can anyone suggest
GU
Guest02:19 amPls bro save us this time πŸ™
GU
Guest11:35 amHow will you help us?
GU
Guest03:54 pmwt is this?
Admin (Host)04:46 pmBe ready guys πŸ•ΊπŸ•Ί
GU
Guest04:52 pmwill you be uploading the solutions of today's OA here itself ?
GU
Guest04:54 pmWill the same questions will be asked you are given
Admin (Host)05:41 pmYss Dear, we will upload Solutions of OA qs
Admin (Host)05:42 pmYss dear, Qs will be same for all
GU
Guest05:50 pmorder will also be same?? or will it be shuffled?
GU
Guest05:57 pmwhere are the questions of coding problems
GU
Guest06:01 pmby what time will you have the answers uploaded
Admin (Host)06:07 pmMay be shuffled
Admin (Host)06:08 pmWill try to upload 1qs within 10 min
Admin (Host)06:08 pmand 2nd question in next 5-10 mins
GU
Guest06:08 pmAre u sure the q are same for everyone?
Admin (Host)06:11 pmHaving 3 yr of experience in this filed bro
Admin (Host)06:11 pmSo dnt wry abt that
GU
Guest06:17 pmSir ur godπŸ™
GU
Guest06:20 pmadmin is 🐐ed
GU
Guest06:22 pmmost of us are from IIT’s only πŸ₯΅
GU
Guest06:26 pmBhai iit mai hoke ye sab na karw jana mai to Tier 69 wala hu
GU
Guest06:31 pmare the two dsa probs will be same for all?
Admin (Host)06:40 pmReady guys?
GU
Guest06:41 pmYes
GU
Guest06:41 pmWill you provide mcqs question too?
Admin (Host)06:42 pmWill try to give soln of mcqs too
GU
Guest06:42 pmthe oa starts at 7pm na, so the questions currenty visibe here are past qns or something?
Admin (Host)06:42 pmbut mostly foucs on DSA qs
Admin (Host)06:43 pmYss they were PYQS asked recently in CwC 27th June
GU
Guest06:44 pmwill the solution be uploaded on the q4live tab?
GU
Guest06:46 pmyes, pls tell the order in which u will upload
Admin (Host)06:46 pmIf u all are confused, im removing these qs from queue
Admin (Host)06:46 pmDone
GU
Guest06:48 pmthnx bro
GU
Guest06:49 pmIn which language solution will be provided?
GU
Guest06:51 pmGot it it's cpp
Admin (Host)06:55 pmcpp only
GU
Guest06:55 pmHow do we know the solution is of which problem
Admin (Host)06:55 pmGuys Just a request Pls join Our telegrma channel
Admin (Host)06:55 pmhttps://t.me/coder_cd_e
GU
Guest06:56 pmDone bro
GU
Guest06:57 pmhi
GU
Guest06:57 pmhi
GU
Guest06:59 pmyes done, we can start the test till 7:30 na?
GU
Guest06:59 pmCan you provide link of telegram channel
GU
Guest06:59 pmmeanwhile u can upload the solns
Admin (Host)06:59 pmStarting Gyus
GU
Guest07:00 pmyes please
GU
Guest07:00 pmThank you admin
GU
Guest07:05 pmQuestions pls
GU
Guest07:06 pmdrone delivery?
Admin (Host)07:07 pm1st Done
Admin (Host)07:07 pm2nd sing
Admin (Host)07:07 pmding*
GU
Guest07:07 pmwhere is soln
Admin (Host)07:09 pmDone Both
Admin (Host)07:09 pmEnjoy
GU
Guest07:11 pmmcq and subjective please give
GU
Guest07:13 pmif ayone has started the test, pls confirm if the qns are samefor everyone
GU
Guest07:15 pmYess pls mcqs
GU
Guest07:22 pmThnx 1st done
GU
Guest07:36 pmSecond questions different naa.
GU
Guest07:46 pmThnx bhai 2nd passed
GU
Guest07:49 pmmcqs anyone?
GU
Guest07:56 pmmcs please
Admin (Host)08:01 pmMCQS Done
GU
Guest08:03 pmWhere are the ans of mcq
GU
Guest08:05 pmQ2 anyone
GU
Guest08:08 pmSubjective pls
GU
Guest08:16 pmQ3
GU
Guest08:21 pm6th mcq please
Admin (Host)08:26 pmSubjective 31-34 DOne
GU
Guest08:30 pmThnx bhai
GU
Guest08:40 pmthnx bhai for today
GU
Guest08:48 pmtqs sir
GU
Guest09:20 pmOne word for admin - saviour πŸ™‡
Admin (Host)10:29 pmThnx for your support and love 🩷
Session EndedChat is closed.
ENDED
πŸ‘ 1
Queue

Live Problems

5 Items
Submitted by Guest

Online Auction Sniper Detector

Given an array of bids with timestamps and user IDs, determine if the current bid is part of a suspicious window and if the second window is ending at the current timestamp. A suspicious window is defined as a window of length n seconds where the user has at least k bids. The second window is ending at the current timestamp if there are at least k bids from the same user within the last n seconds.

Examples

Example 1:

Input:{"n": 2, "k": 2, "bids": [[1, 1], [2, 1], [3, 2], [4, 2], [5, 1]]}
Output:{"is_suspicious": true, "is_second_window": false}

Example 2:

Input:{"n": 3, "k": 2, "bids": [[1, 1], [2, 1], [3, 2], [4, 2], [5, 1], [6, 1], [7, 1]]}
Output:{"is_suspicious": true, "is_second_window": false}

Example 3:

Input:{"n": 2, "k": 2, "bids": [[1, 1], [2, 1], [3, 2], [4, 2], [5, 1], [6, 2], [7, 2]]}
Output:{"is_suspicious": true, "is_second_window": true}

Constraints

  • 1 <= n <= 10^5
  • 1 <= k <= 10^5
  • 1 <= bids.length <= 10^5
  • 0 <= bids[i].timestamp <= 10^9
  • 0 <= bids[i].user_id <= 10^9
q1_pending.cpp
q2_pending.cpp
q3_solved.cpp
q4_solved.cpp
q5_solved.cpp
Loading...
Host uploads the public C++ solution

Code With Cisco

ENDED
β€’1 watching