|
merhaba arkadaşlar 10 luk tabanındaki bir sayıyı 16 tabana nasıl dönüştürebilirim c dilinde.diğer tabanları yazdım ama 16lık tabanı yazamadım yardımcı olursanız sevinirim. |
|
Question Three: Suppose T(n)=3/2T(n/2)+n a) Prove that T(n)=O(n) by mathematical induction (substitution). b) Prove that T(n)=O(n) by recursive method (expansion). Question Four: Merge(L1, L2), below, is a function which merges two sorted linked lists L1 and L2, and outputs a single sorted linked list. By "sorted", we mean increasing order. Merge(L1, L2) If L1 is empty, then return L2; If L2 is empty, then return L1; x = the first element of L1; y = the first element of L2; If x<y take out x from L1; L = Merge(L1,L2); Append x in the front of L; return L; If y<x take out y from L2; L = Merge(L1,L2); Append y in the front of L; return L; Prove that Merge(L1, L2) runs in O(L1+L2) time. [Hint: For a recursive algorithm, the best way is to use recurrence. Note, the Big-Oh notation should not appear in mathematical induction (substitution).] Bu sorular hakkında yardımcı olucak var mı? |
|
merhaba bu soru hakkında akış diyagramı ile uğraştım fakat sonuca ulaşamaıdm.yardımcı olursanız sevinirim. < Resime gitmek için tıklayın > |
|
merhaba bu soru hakkında akış diyagramı ile uğraştım fakat sonuca ulaşamaıdm.yardımcı olursanız sevinirim. < Resime gitmek için tıklayın > |
Ben matematik ogrencisiyim.Alanim olmadigi icin yazilim gelistirmede pascal dilimde bir odevim var cok kisa bir sey.yardim ederseniz cok sevinirim
Soru: NxN lik bir matrisin ters simetri olup olmadığını bulup ekrana yazacak Pascal programını kodlayınız. N değeri ve matris elemanları klavyeden girilecek.
1- Matris girildikten sonra ekrana ilk hali matris görümünde yazdırılacak.
2- Matrisin durumuna bakılacak ters simetri var mı diye. Varsa bu matris ter simetridir veya değildir diye ekrana yazacak.