Sociology Notes (IV) Organizations, Societies, and the Global Domain
Questioning Governmental AuthorityThirty-year-old U.S. Central Intelligence Agency contractor Edward Snowden caused an uproar in many parts of the world when he leaked thousands of classified documents. The clamor in the United States became especially loud in mid-2013 when Snowden told the world that the U.S. National Security Agency had attempted to prevent terrorist acts by spying on ordinary American citizens.
The events surrounding Snowden’s leaks reveal the relationship between us as indiv ...
Sociology Notes (III) Socialization and Interaction
Socialization into Extremismorphans, heinous, depicted, mosque, variance, continuum, interpenetrates.
You are who you are because of the people, institutions, and social structures that have surrounded you since birth (and even before). You have been socialized to look, think, act, and interact in ways that allow you to live harmoniously.
Discovering how socialization and social interaction shape who we are and how we act, as we will do in this chapter, is the most basic level of sociological an ...
Sociology Notes (II) Culture
Define CultureA Definition of CultureCulture encompasses the ideas, values, practices, and material objects that allow a group of people, even an entire society, to carry out their collective lives in relative order and harmony. There are innumerable ideas, values, practices, and material objects associated with most cultures.
For example, Members of the two gangs distinguish themselves from each other in a variety of ways, but most notably by their defining colors—red for Bloods and blue for Cr ...
Beaconfire Interview Experience
Beaconfire Interview ExperiencePart I
e.
Overloading and overridingOverloading : If two or more methods have same name, but different argument then it is called method overloading.
Number of Arguments
Overloaded method can have different number of arguments
Date type
Overload method can have different data type for argument
Return type
Return type can be changed but either number of argument or data type of argument should also be changed.
Order of arguments
If you change sequence ...
Dynamic Programming Leetcode
Dynamic Programming: Number of Longest Increasing SubsequenceDescriptionGiven an integer array nums, return the number of longest increasing subsequences.
Notice that the sequence has to be strictly increasing.
Example 1:123Input: nums = [1,3,5,4,7]Output: 2Explanation: The two longest increasing subsequences are [1, 3, 4, 7] and [1, 3, 5, 7].
Example 2:123Input: nums = [2,2,2,2,2]Output: 5Explanation: The length of longest continuous increasing subsequence is 1, and there are 5 subse ...
Stack Leetcode
Stack : Next Greater Element IDescription
You are given two integer arrays nums1 and nums2 both of unique elements, where nums1 is a subset of nums2.
Find all the next greater numbers for nums1‘s elements in the corresponding places of nums2.
The Next Greater Number of a number x in nums1 is the first greater number to its right in nums2. If it does not exist, return -1 for this number.
Example 1:
123456Input: nums1 = [4,1,2], nums2 = [1,3,4,2]Output: [-1,3,-1]Explanation:For number 4 ...
Sociology Notes (I) Globalization of Social Change and Continuity
Central concerns for a 21 century sociologyGlobalizationWe are living in the “global age” (Albrow 1996). Society is a complex pattern of social relationships that is bounded in space and persists over time, has traditionally been the largest unit of analysis in sociology. The transnational structures are becoming more important than individual societies. Why? For example, OPEC is more important to the rest of the world’s well-being than are the organization’s key member societies, such as Abu Dh ...