Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 674 for Towers (0.39 sec)

  1. cracking-the-coding-interview/chapter-three-stacks-and-queues/TowersOfHanoi.java

    public class TowersOfHanoi {
    	public static void main(String args[]) {
    		int n = 3;
    		Tower[] towers = new Tower[n];
    		for(int i = 0; i < 3; i++) {
    			towers[i] = new Tower(i);
    		}
    
    		for(int i = n - 1; i >= 0; i--) {
    			towers[0].add(i);
    		}
    		towers[0].moveDisks(n, towers[2], towers[1]);
    	}
    }
    
    public class Tower {
    	private Stack<Integer> disks;
    Java
    - Registered: 2023-03-13 15:02
    - Last Modified: 2018-03-27 16:52
    - 1.5K bytes
    - Viewed (0)
  2. docs/data/joy/components/autocomplete/Asynchronous.tsx

      {
        title: 'Star Wars: Episode V - The Empire Strikes Back',
        year: 1980,
      },
      { title: 'Forrest Gump', year: 1994 },
      { title: 'Inception', year: 2010 },
      {
        title: 'The Lord of the Rings: The Two Towers',
        year: 2002,
      },
      { title: "One Flew Over the Cuckoo's Nest", year: 1975 },
      { title: 'Goodfellas', year: 1990 },
      { title: 'The Matrix', year: 1999 },
      { title: 'Seven Samurai', year: 1954 },
      {
    Plain Text
    - Registered: 2023-03-13 19:27
    - Last Modified: 2022-11-08 06:39
    - 3.3K bytes
    - Viewed (0)
  3. docs/data/joy/components/autocomplete/Asynchronous.js

      {
        title: 'Star Wars: Episode V - The Empire Strikes Back',
        year: 1980,
      },
      { title: 'Forrest Gump', year: 1994 },
      { title: 'Inception', year: 2010 },
      {
        title: 'The Lord of the Rings: The Two Towers',
        year: 2002,
      },
      { title: "One Flew Over the Cuckoo's Nest", year: 1975 },
      { title: 'Goodfellas', year: 1990 },
      { title: 'The Matrix', year: 1999 },
      { title: 'Seven Samurai', year: 1954 },
      {
    JavaScript
    - Registered: 2023-03-13 19:27
    - Last Modified: 2022-11-08 06:39
    - 3.3K bytes
    - Viewed (0)
  4. docs/data/joy/components/autocomplete/Tags.js

      {
        title: 'Star Wars: Episode V - The Empire Strikes Back',
        year: 1980,
      },
      { title: 'Forrest Gump', year: 1994 },
      { title: 'Inception', year: 2010 },
      {
        title: 'The Lord of the Rings: The Two Towers',
        year: 2002,
      },
      { title: "One Flew Over the Cuckoo's Nest", year: 1975 },
      { title: 'Goodfellas', year: 1990 },
      { title: 'The Matrix', year: 1999 },
      { title: 'Seven Samurai', year: 1954 },
      {
    JavaScript
    - Registered: 2023-03-13 19:27
    - Last Modified: 2022-11-08 06:39
    - 5K bytes
    - Viewed (0)
  5. docs/data/joy/components/autocomplete/OptionStructure.js

      {
        title: 'Star Wars: Episode V - The Empire Strikes Back',
        year: 1980,
      },
      { title: 'Forrest Gump', year: 1994 },
      { title: 'Inception', year: 2010 },
      {
        title: 'The Lord of the Rings: The Two Towers',
        year: 2002,
      },
      { title: "One Flew Over the Cuckoo's Nest", year: 1975 },
      { title: 'Goodfellas', year: 1990 },
      { title: 'The Matrix', year: 1999 },
      { title: 'Seven Samurai', year: 1954 },
      {
    JavaScript
    - Registered: 2023-03-13 19:27
    - Last Modified: 2022-11-08 06:39
    - 4.9K bytes
    - Viewed (0)
  6. docs/data/joy/components/autocomplete/Tags.tsx

      {
        title: 'Star Wars: Episode V - The Empire Strikes Back',
        year: 1980,
      },
      { title: 'Forrest Gump', year: 1994 },
      { title: 'Inception', year: 2010 },
      {
        title: 'The Lord of the Rings: The Two Towers',
        year: 2002,
      },
      { title: "One Flew Over the Cuckoo's Nest", year: 1975 },
      { title: 'Goodfellas', year: 1990 },
      { title: 'The Matrix', year: 1999 },
      { title: 'Seven Samurai', year: 1954 },
      {
    Plain Text
    - Registered: 2023-03-13 19:27
    - Last Modified: 2022-11-08 06:39
    - 5K bytes
    - Viewed (0)
  7. docs/data/joy/components/autocomplete/Sizes.tsx

      {
        title: 'Star Wars: Episode V - The Empire Strikes Back',
        year: 1980,
      },
      { title: 'Forrest Gump', year: 1994 },
      { title: 'Inception', year: 2010 },
      {
        title: 'The Lord of the Rings: The Two Towers',
        year: 2002,
      },
      { title: "One Flew Over the Cuckoo's Nest", year: 1975 },
      { title: 'Goodfellas', year: 1990 },
      { title: 'The Matrix', year: 1999 },
      { title: 'Seven Samurai', year: 1954 },
      {
    Plain Text
    - Registered: 2023-03-13 19:27
    - Last Modified: 2022-11-08 06:39
    - 5.5K bytes
    - Viewed (0)
  8. docs/data/joy/components/autocomplete/FreeSolo.js

      {
        title: 'Star Wars: Episode V - The Empire Strikes Back',
        year: 1980,
      },
      { title: 'Forrest Gump', year: 1994 },
      { title: 'Inception', year: 2010 },
      {
        title: 'The Lord of the Rings: The Two Towers',
        year: 2002,
      },
      { title: "One Flew Over the Cuckoo's Nest", year: 1975 },
      { title: 'Goodfellas', year: 1990 },
      { title: 'The Matrix', year: 1999 },
      { title: 'Seven Samurai', year: 1954 },
      {
    JavaScript
    - Registered: 2023-03-13 19:27
    - Last Modified: 2022-11-08 06:39
    - 5.5K bytes
    - Viewed (0)
  9. docs/data/joy/components/autocomplete/BasicAutocomplete.js

      {
        label: 'Star Wars: Episode V - The Empire Strikes Back',
        year: 1980,
      },
      { label: 'Forrest Gump', year: 1994 },
      { label: 'Inception', year: 2010 },
      {
        label: 'The Lord of the Rings: The Two Towers',
        year: 2002,
      },
      { label: "One Flew Over the Cuckoo's Nest", year: 1975 },
      { label: 'Goodfellas', year: 1990 },
      { label: 'The Matrix', year: 1999 },
      { label: 'Seven Samurai', year: 1954 },
      {
    JavaScript
    - Registered: 2023-03-13 19:27
    - Last Modified: 2022-11-08 06:39
    - 4.9K bytes
    - Viewed (0)
  10. docs/data/joy/components/autocomplete/BasicAutocomplete.tsx

      {
        label: 'Star Wars: Episode V - The Empire Strikes Back',
        year: 1980,
      },
      { label: 'Forrest Gump', year: 1994 },
      { label: 'Inception', year: 2010 },
      {
        label: 'The Lord of the Rings: The Two Towers',
        year: 2002,
      },
      { label: "One Flew Over the Cuckoo's Nest", year: 1975 },
      { label: 'Goodfellas', year: 1990 },
      { label: 'The Matrix', year: 1999 },
      { label: 'Seven Samurai', year: 1954 },
      {
    Plain Text
    - Registered: 2023-03-13 19:27
    - Last Modified: 2022-11-08 06:39
    - 4.9K bytes
    - Viewed (0)
Back to top