Search:

Type: Posts; User: UltimoBrah

Search: Search took 0.01 seconds.

  1. Dining Philosophers Problem using Tannenbaum's solution

    Hi bros! I'm confused and new to this Dining Philosophers Problem. I have read algorithms and pseudocodes about it but when it comes to coding and running it on the terminal, I can't seem to...
  2. [Homework]How to convert fcfs into pre-emptive sjf and non pre-emptive sjf(strf)

    Hi guys, I'm new to this cpu sheduling and I have learned how FCFS, pre-emptive and non pre-emptive SJF works. Here I have is a FCFS code. From this code, I should be able to make/convert this into...
  3. Replies
    1
    Views
    1,520

    Depth First Search problem

    Hey guys, got a little problem here. I'm having problems with implementing depth first search. A little help will be appreciated.



    6 10 //6vertices 10edges
    0 2 //vertex and...
  4. oh yes, the .......... am i doing. sorry, just...

    oh yes, the .......... am i doing. sorry, just got ..........ed up.
  5. import java.*; public class Test{ ...

    import java.*;
    public class Test{


    public String[] getCipherText(String str3){
    String[] array3= str3.split("#");
    String[] a1= array3[0].split(",");
    return a1;...
  6. yeah, i thought of that a few seconds after i...

    yeah, i thought of that a few seconds after i posted this thread. i'm currently trying that idea out.
  7. how to convert a string into a 2d char array?

    Hey guys, a little help here.I have this string that I need to convert into a 2d char array like this:String str= "A,E,B,I,M,Y#N,R,C,A,T,S";I know how to use delimiter and split string and I know how...
  8. Replies
    1
    Views
    1,818

    hashing problem

    I'm having problems with hashing. Don't mind the rehashing. Don't mind the "2" in hashfile.txt. a[m] values start with array[1] which is 13.
    My problem is that [13]->13, -721924 it prints...
  9. Replies
    1
    Views
    2,954

    AVL left & right rotation

    Hey fellow programmers. I am creating and implementing a left and a right rotation to balance a bst into an avl tree. I have made and tried 5 different codes that are commented in the functions...
Results 1 to 9 of 9