Тёмный
qnawire
qnawire
qnawire
Подписаться
QNAwire is a free homework help discovery for free Notes, free educational topics, Question and Answer free, free scholarship Notification, free course website, you can ask any homework questions and get free help and cover all subject.
Комментарии
@abdulraheemakosile5024
@abdulraheemakosile5024 День назад
Anyone got a better soluion for this?
@abdulraheemakosile5024
@abdulraheemakosile5024 День назад
bruhh c'mon
@CuriousLad
@CuriousLad 4 дня назад
Wait, which textbook is this referencing? Also, great explanation!
@easonback
@easonback 16 дней назад
Your code is wrong. Used Java passed all the test cases: public static int countTeams(int teamSize_1, int teamSize_2, int p) { // Write your code here int maxTeams = Math.min(p / teamSize_1, p / teamSize_2); int maxTeamSize = Math.max(teamSize_1,teamSize_2); int minTeamSize = Math.min(teamSize_1,teamSize_2); for (int i = maxTeams; i >= 0; i --) { if ( (p - i * maxTeamSize) % minTeamSize == 0) { return i + (p - i * maxTeamSize) / minTeamSize; } } return -1; }
@Buy_YT_Views_66
@Buy_YT_Views_66 23 дня назад
This is the peak of human achievement.
@alhaitham7583
@alhaitham7583 Месяц назад
Are you an AI?
@qnawire
@qnawire 28 дней назад
If you have any doubts so please send us our subject expert will help you - t.me/unblurfree
@panashejonga4258
@panashejonga4258 Месяц назад
bho here?
@qnawire
@qnawire 28 дней назад
If you have any doubts so please send us our subject expert will help you - t.me/unblurfree
@qnawire
@qnawire 28 дней назад
If you have any doubts so please send us our subject expert will help you - t.me/unblurfree
@tawfiqnabil2467
@tawfiqnabil2467 Месяц назад
The link in the telegram plz
@qnawire
@qnawire Месяц назад
Done
@vaibhavpawar2002
@vaibhavpawar2002 Месяц назад
Where is the code
@qnawire
@qnawire Месяц назад
If you have any doubts so please send us our subject expert will help you - t.me/unblurfree
@alyl603
@alyl603 Месяц назад
I mean the overlap isn't an issue necessarily if I'm first going through each column from 1 to 2024 and coloring the topmost 1000 squares in each column then the area I have left to work with is 1024 completely uncolored rows, from which I can effectively paint 1000 squares in any way I want since it won't matter. ultimately end up with 2024*1000 + 1024*1000 = 3,048,000 no?
@qnawire
@qnawire Месяц назад
If you have any doubts so please send us our subject expert will help you - t.me/unblurfree
@learningmathswithconcepts7203
@learningmathswithconcepts7203 Месяц назад
Plz find minimum work done in shaking
@qnawire
@qnawire Месяц назад
If you have any doubts so please send us our subject expert will help you - t.me/unblurfree
@talalbintariq8339
@talalbintariq8339 Месяц назад
from which book is this question from?
@qnawire
@qnawire Месяц назад
If you have any doubts so please send us our subject expert will help you - t.me/unblurfree
@senpaix6613
@senpaix6613 Месяц назад
TY
@qnawire
@qnawire Месяц назад
Glad ! to Help You Share with students and friends about our channel in our support Thank You !
@rishirockzz1600
@rishirockzz1600 Месяц назад
hello sir, how do we solve for a p+ polysilicon device? expected to find Vtp and Φms flat band voltage is also not given. Determine the metal - semiconductor work function difference and the threshold voltage for a silicon MOS device at 𝑇 = 3 0 0 𝐾 for the following parameters: 𝑝 + polysilicon gate, 𝑁 𝑎 = 2 × 1 0 1 6 𝑐 𝑚 - 3 , 𝑡 𝑜 𝑥 = 8 𝑛 𝑚 = 8 0 Å , and 𝑄 𝑠 𝑠 ' = 2 × 1 0 1 0 𝑐 𝑚 - 2 .
@user-rm5wy3lt7q
@user-rm5wy3lt7q 2 месяца назад
what is the coincidence me working on this question today. great work!!!!
@qnawire
@qnawire 2 месяца назад
Awesome! Thank you! Glad ! to Help You Share with students and friends about our channel in our support Thank You !
@d.gandhi8878
@d.gandhi8878 2 месяца назад
What's the answers
@qnawire
@qnawire 2 месяца назад
If you have any doubts so please send us our subject expert will help you - t.me/unblurfree
@academicstuff548
@academicstuff548 2 месяца назад
Thanks you saved me.
@qnawire
@qnawire 2 месяца назад
Glad I could help Glad ! to Help You Share with students and friends about our channel in our support Thank You !
@gowthamsharma654
@gowthamsharma654 2 месяца назад
GG lifesaver!
@qnawire
@qnawire 2 месяца назад
Glad ! to Help You Share with students and friends about our channel in our support Thank You !
@nraphson
@nraphson 2 месяца назад
It's wrong For parallel flow ○T1 = 220-10 = 210⁰c ○T2 = 115-75 = 40⁰c Now LMTD ....
@qnawire
@qnawire 2 месяца назад
If you have any doubts so please send us our subject expert will help you - t.me/unblurfree
@worldoptics
@worldoptics 2 месяца назад
can you give the c++ code for this problem?
@shlokagrawal6405
@shlokagrawal6405 2 месяца назад
fuck numerade for their paywall, thanks
@iamadityavaishy
@iamadityavaishy 2 месяца назад
Give the code file please.
@qnawire
@qnawire 2 месяца назад
If you have any doubts so please send us our subject expert will help you - t.me/unblurfree
@me57shreyashjadhav37
@me57shreyashjadhav37 2 месяца назад
Wrong answer
@qnawire
@qnawire 2 месяца назад
If you have any doubts so please send us our subject expert will help you - t.me/unblurfree
@brutalbrothers05
@brutalbrothers05 2 месяца назад
Please also provide the code
@qnawire
@qnawire 2 месяца назад
def countTeams(teamSize_1, teamSize_2, p): # Calculate the maximum number of teams using the smaller team size max_teams = min(p // teamSize_1, p // teamSize_2) # Check if the total number of participants is divisible by both team sizes if p % teamSize_1 == 0 and p % teamSize_2 == 0: return max_teams else: return -1 # Example usage teamSize_1 = 3 teamSize_2 = 4 p = 7 print(countTeams(teamSize_1, teamSize_2, p)) # Output: 2
@NAVEEN-pg5ic
@NAVEEN-pg5ic 2 месяца назад
@@qnawire agar code na aata ho kripya krke likhe na
@amoghmokshith8111
@amoghmokshith8111 2 месяца назад
Bro can u send the code
@qnawire
@qnawire 2 месяца назад
def repeated_digit(n): # Check if a number has repeated digits s = set() while n != 0: d = n % 10 if d in s: return False s.add(d) n = n // 10 return True def calculate(L, R): answer = 0 for i in range(L, R + 1): if repeated_digit(i): answer += 1 return answer # Example usage L, R = 80, 120 print(calculate(L, R)) # Output: 27
@amoghmokshith8111
@amoghmokshith8111 2 месяца назад
@@qnawire thanks man
@MUHAMMADHAMZA-ue9qv
@MUHAMMADHAMZA-ue9qv 2 месяца назад
Thanks for the explanation I Appreciate it
@qnawire
@qnawire 2 месяца назад
Glad it was helpful! Glad ! to Help You Share with students and friends about our channel in our support Thank You !
@subhranildey2326
@subhranildey2326 2 месяца назад
Thanks.
@qnawire
@qnawire 2 месяца назад
Glad! to Help You Share with students and friends about our channel in our support. Thank You!
@arifism1
@arifism1 Месяц назад
hi bro
@arthurguilhermedeboni3664
@arthurguilhermedeboni3664 2 месяца назад
wheres the final code?
@qnawire
@qnawire 2 месяца назад
If you have any doubts so please send us our subject expert will help you - t.me/unblurfree
@HyuukeShoemon
@HyuukeShoemon 2 месяца назад
Someone was able to solve this in HackerRank?
@raviashray1431
@raviashray1431 3 месяца назад
This is completely wrong, DSQI values from 0 to 1
@qnawire
@qnawire 3 месяца назад
we are sorry for If you have any doubts so please send us our subject expert will help you - t.me/unblurfree
@sausagefeet4860
@sausagefeet4860 3 месяца назад
Utter bullshit
@qnawire
@qnawire 3 месяца назад
we are sorry for If you have any doubts so please send us our subject expert will help you - t.me/unblurfree
@deekshithtirumala6474
@deekshithtirumala6474 3 месяца назад
It's o(n*q) can't we reduce complexity
@qnawire
@qnawire 3 месяца назад
we are sorry for If you have any doubts so please send us our subject expert will help you - t.me/unblurfree
@SuccessGeorge-ov9dn
@SuccessGeorge-ov9dn 3 месяца назад
Thank you
@qnawire
@qnawire 3 месяца назад
You're welcome Glad ! to Help You Share with students and friends about our channel in our support Thank You !
@rajadas9716
@rajadas9716 3 месяца назад
Where is the code
@qnawire
@qnawire 3 месяца назад
def getMinMachines(start, end): # Combine start and end times into a single list of tuples tasks = [(s, e) for s, e in zip(start, end)] # Sort tasks based on end times tasks.sort(key=lambda x: x[1]) # Initialize a list of machines machines = [] for task in tasks: # Check if there's an available machine assigned = False for machine in machines: if machine[-1][1] <= task[0]: machine.append(task) assigned = True break # If no available machine, create a new one if not assigned: machines.append([task]) # Number of machines created is the answer return len(machines) # Example usage start = [2, 1, 5, 5, 8] end = [5, 3, 8, 6, 12] print(getMinMachines(start, end)) # Output: 3
@rajadas9716
@rajadas9716 3 месяца назад
@@qnawire this code is not same as in the slide right? Cause I tried the slide code in IBM coding round, it didn't pass all the test cases
@sreeramreddy4531
@sreeramreddy4531 3 месяца назад
Were you able to find the answer ?
@qnawire
@qnawire 3 месяца назад
we are sorry for If you have any doubts so please send us our subject expert will help you - t.me/unblurfree
@tedb9602
@tedb9602 3 месяца назад
Here's my attempt at solving this: (Python) ``` def get_freq(word): return {c: word.count(c) for c in set(word)} def get_minimal_moves(word): freq = get_freq(word) moves = 0 new_word = word while any(freq[c] > 1 for c in freq): sorted_freq = sorted(freq.items(), key=lambda x:x[1], reverse=True) c = sorted_freq[0][0] indices = [i for i, x in enumerate(new_word) if x == c] i = freq[c] // 2 index = indices[i] left, right = new_word[:index], new_word[index+1:] if c in left or c in right: new_l = left new_r = right if c in left: j = indices[i-1] new_l = left[:j] + left[j+1:] if c in right: j = indices[i+1] - index - 1 new_r = right[:j] + right[j+1:] new_word = new_l + c + new_r moves += 1 freq = get_freq(new_word) return moves ```
@divineovundah7222
@divineovundah7222 3 месяца назад
Thanks
@qnawire
@qnawire 3 месяца назад
Welcome
@19_ammarsaquib_aec_ece46
@19_ammarsaquib_aec_ece46 3 месяца назад
Also provide the java code for this problem
@qnawire
@qnawire 3 месяца назад
The English lecture at HackerElementary School focuses on teaching students the letters of the alphabet. Here’s how the students can achieve a minimal word length: For each character c in the string: Find the first occurrence of c to the left of the current index. Find the first occurrence of c to the right of the current index. Delete both occurrences (if they exist). Repeat step 1 for all characters in the string. For example, consider the word adabacaea: Choosing index 4 (0-based) with character ‘a’: Delete the first occurrence of ‘a’ to the left (index 2). Delete the first occurrence of ‘a’ to the right (index 6). The resulting word is adbacea. Repeat this process for all characters. The minimum number of moves required to obtain a word of minimal length is the total number of deletions performed.
@studentshelperpuneet2220
@studentshelperpuneet2220 3 месяца назад
Bhai shi se solve kro kya h questions kya h answer kya h explaination kuchh pta hi nhi chl rha hai
@qnawire
@qnawire 3 месяца назад
we are sorry for If you have any doubts so please send us our subject expert will help you - t.me/unblurfree
@maxmuster7003
@maxmuster7003 3 месяца назад
Good work.❤
@qnawire
@qnawire 3 месяца назад
Thanks ✌️
@maxmuster7003
@maxmuster7003 3 месяца назад
Routine for searching 8x16 character font in bios memory and display 16 lines with "segment address + offset address", the byte of the memory location and the bits of the byte and then waiting for key press. Space bar = next 16 bytes, ESC = exit. Start batch file with segment + offset attached. Example: C:\MEMSPY.BAT C000 1A00 @echo off REM MEMSPY.BAT REM Display 16 bytes REM Need two parameter attached REM for segment and offset: like C000 1700 REM Space = next 16 bytes REM ESC = Exit echo a>tmp.deb echo mov ax,b800>>tmp.deb echo mov es,ax>>tmp.deb echo mov bx,%1>>tmp.deb echo mov si,%2>>tmp.deb echo cld>>tmp.deb echo mov ds,bx>>tmp.deb echo xor di,di>>tmp.deb echo mov ch,10>>tmp.deb REM --- Output segment address --- echo mov dx,bx>>tmp.deb echo call 0170>>tmp.deb echo mov al,3A>>tmp.deb echo stosb>>tmp.deb echo inc di>>tmp.deb REM --- Output offset address --- echo mov dx,si>>tmp.deb echo call 0170>>tmp.deb echo add di,2>>tmp.deb REM --- Get byte from ds:si --- echo lodsb>>tmp.deb REM --- Output byte --- echo xor dx,dx>>tmp.deb echo mov ah,al>>tmp.deb echo mov dh,al>>tmp.deb echo mov cl,2>>tmp.deb echo call 0172>>tmp.deb echo add di,2>>tmp.deb REM --- Output bits --- echo mov dl,ah>>tmp.deb echo mov cl,8>>tmp.deb echo mov al,31>>tmp.deb echo rol dl,1>>tmp.deb echo test dl,1>>tmp.deb echo jnz 0141>>tmp.deb echo mov al,30>>tmp.deb echo stosb>>tmp.deb echo inc di>>tmp.deb echo dec cl>>tmp.deb echo jnz 0136>>tmp.deb REM --- next row --- echo add di,76>>tmp.deb echo dec ch>>tmp.deb echo jnz 0112>>tmp.deb REM --- increase seg address + 64 kb --- echo cmp si,0>>tmp.deb echo jnz 0157>>tmp.deb echo add bx,1000>>tmp.deb REM --- get key from keyboard --- echo mov ah,0>>tmp.deb echo int 16>>tmp.deb echo cmp al, 1b>>tmp.deb echo jz 0187>>tmp.deb echo cmp al,20>>tmp.deb echo jz 010C>>tmp.deb echo jmp 0157>>tmp.deb REM -- Subroutine -- REM --- Output 4 hex ASCII --- echo org 0170>>tmp.deb echo mov cl,4>>tmp.deb echo rol dx,4>>tmp.deb echo mov al,dl>>tmp.deb echo and al,F>>tmp.deb echo cmp al,A>>tmp.deb echo jb 017F>>tmp.deb echo add al,7>>tmp.deb echo add al,30>>tmp.deb echo stosb>>tmp.deb echo inc di>>tmp.deb echo dec cl>>tmp.deb echo jnz 0172>>tmp.deb echo ret>>tmp.deb REM echo.>>tmp.deb echo n MEMSPY.COM>>tmp.deb echo rcx>>tmp.deb echo 88>>tmp.deb echo wcs:100>>tmp.deb echo q>>tmp.deb debug<tmp.deb>DEB.INF del tmp.deb cls MEMSPY.COM del MEMSPY.COM
@qnawire
@qnawire 3 месяца назад
If you have any doubts so please send us our subject expert will help you - t.me/unblurfree
@maxmuster7003
@maxmuster7003 3 месяца назад
Step 5: decimal 16 is hexadecimal 10.....hexadecimal 16 is decimal 22
@qnawire
@qnawire 3 месяца назад
If you have any doubts so please send us our subject expert will help you - t.me/unblurfree
@maxmuster7003
@maxmuster7003 3 месяца назад
How to make a screenshot of the text screen and to reload the screen using two batch files and some internal Debug commands: n, r w, q and n, r, l, q and segment address, file name and file size. Test in 4 steps from DosBox command prompt: dir ScreS.bat Screen1.SAV cls ScreL.bat Screen1.SAV @echo off REM ScreS.bat filename REM Save text screen to file. echo n %1>tmp.deb echo rcx>>tmp.deb echo FA0>>tmp.deb echo rds>>tmp.deb echo B800>>tmp.deb echo wds:0>>tmp.deb echo q>>tmp.deb debug<tmp.deb>nul del tmp.deb @echo off REM ScreL.bat filename REM Load text screen from file. echo n %1>tmp.deb echo rcx>>tmp.deb echo FA0>>tmp.deb echo rds>>tmp.deb echo B800>>tmp.deb echo lds:0>>tmp.deb echo q>>tmp.deb debug<tmp.deb>nul del tmp.deb
@qnawire
@qnawire 3 месяца назад
we are sorry for If you have any doubts so please send us our subject expert will help you - t.me/unblurfree
@maxmuster7003
@maxmuster7003 3 месяца назад
These are internal Debug commands. All values are hexadecimal. I like to use a Debug version in DosBox that provide 16 bit and 32 bit instructions. DosBox emulates a PC with intel CPU 80386/80387.
@qnawire
@qnawire 3 месяца назад
we are sorry for If you have any doubts so please send us our subject expert will help you - t.me/unblurfree
@mayankpandey7108
@mayankpandey7108 3 месяца назад
we need answers not quwstions
@qnawire
@qnawire 3 месяца назад
we are sorry for If you have any doubts so please send us our subject expert will help you - t.me/unblurfree
@sage6972
@sage6972 3 месяца назад
*Promo sm* ✌️
@qnawire
@qnawire 3 месяца назад
If you have any doubts so please send us our subject expert will help you - t.me/unblurfree
@MdKaif-iy5je
@MdKaif-iy5je 3 месяца назад
samajh nahi aaya... didn't get it.. where is the proof?
@qnawire
@qnawire 3 месяца назад
we are sorry for If you have any doubts so please send us our subject expert will help you - t.me/unblurfree
@AmirA-mx6do
@AmirA-mx6do 3 месяца назад
Thank you
@qnawire
@qnawire 3 месяца назад
Glad to Help You
@Ali_9911
@Ali_9911 4 месяца назад
I think this question is of IBM
@moonvlogs-zb5wi
@moonvlogs-zb5wi 4 месяца назад
If you have plz send me
@samboey
@samboey 4 месяца назад
Answer?
@qnawire
@qnawire 4 месяца назад
we are sorry for If you have any doubts so please send us our subject expert will help you - t.me/unblurfree
@simran12285
@simran12285 4 месяца назад
Beautiful explained dear
@qnawire
@qnawire 4 месяца назад
Thank you so much 🙂